Fork of Activity 6 q3
✓ Published1🌍 Public
This example presents a stacked bar chart illustrating population distribution across age brackets for several U.S. states, with each bar segmented by age group and colored using a categorical scale. The visualization is rendered as an SVG using D3.js (v3.5), with population values loaded from a local CSV file. Users can hover over individual bar segments to see a tooltip displaying the specific age group and its population count. The chart sorts states by total population and includes axis labels, demonstrating D3's core APIs for data binding, scales, and SVG rendering.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed