Metis Unemployment Rate Bar Chart Nesting and Labels Example
✓ Published0🌍 Public
EElaineYu
Last edited Jul 12, 2017
Created on Jul 12, 2017
This example uses a nested bar chart to show the average unemployment rate in 2017 across U.S. subregions, sorted from highest to lowest. The chart aggregates state-level data from a CSV file using d3.nest() and rollup to compute mean rates per subregion. Bars are rendered in SVG with value labels positioned inside each bar, while the code also demonstrates data grouping by region, subregion, and state, plus calculations of average unemployment rates by region.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed