Closed lmichael107 closed 1 week ago
Missed the following, before.
I am not sure that we can control this, but I will look into it. I think this is something that the graphing engine does by itself when there are zero institutions in a given category. This is not us filtering the data.
This is one of those cases where someone could in theory use the tools to determine levels for a given institution with some careful filtering. We do not currently review the # of institutions in each category to remove categories within a filter where there are < 5 institutions.
Moving to 2.2 as this is fairly non-trivial. This happens deep inside logic we call, so we would have to do some extra checking to even detect this.
For now, just add a footnote about the issue
Added support in latest branch for do detect when categories are filtered (or otherwise unrepresented in dataset). Note that e.g., Reporting Structure currently lacks any data for the choice "Academic/Research Institute or Center" and so the note currently always appears for that compare-by choice. There is no clean way to work around that minor issue.
Currently, a graph will be produced without data for one or more categories within the "Chart View". See the below examples.
I would be nice if the missing category were still shown at right, with some indicator (question mark or parenthetical) indicate "not enough data" or something like that.