Add a new "Type" pulldown for bar charts with 2 options:
Bar Chart
Histogram
With the "Bar Chart" option, users will be prompted to define an X-Axis and Y-Axis. This will be the default option.
With the "Histogram" option, users will be prompted to define a Value field. The y-axis will display the frequency and the x-axis will display the Value. Example:
Add a new "Type" pulldown for bar charts with 2 options:
With the "Bar Chart" option, users will be prompted to define an X-Axis and Y-Axis. This will be the default option.
With the "Histogram" option, users will be prompted to define a Value field. The y-axis will display the frequency and the x-axis will display the Value. Example:
Reference: https://observablehq.com/@d3/histogram