Dataset: Barcharts
genesys-pgr/amphibian#14 provides data that can be used to render a bar chart for CODED
and SCALE (integer only)
descriptors.
In this ticket we update the dataset Overview tab to include bar charts for these two types of descriptors.
The bar chart for SCALE (integer only)
descriptors should have categories for all integers between minValue
and maxValue
, and for CODED
it should use the order of categories as defined in the descriptor.
The Overview will therefore display:
- For
CODED
descriptors: a bar chart -
NUMERICALs
: a histogram -
SCALE (integer only)
: a bar chart -
SCALE (not integer)
: a histogram
CC @ahrybeniuk
Implementation
Please reuse the existing import BarChart from 'ui/common/bar-chart';