Skip to main content
100%

Untitled

✓ Published0🌍 Public
Pp189
Last edited Apr 5, 2020
Created on Apr 5, 2020
Forked from Untitled

This stacked bar chart displays the total population for each state across selected years, with bars segmented by three categories. A dropdown menu lets viewers switch between years, triggering a smooth transition that updates bar heights and the y-axis scale. The visualization is built with D3.js v5, using d3.stack for data aggregation, d3.scaleBand and d3.scaleLinear for positioning, and SVG transitions to animate changes. Data comes from a local CSV file, with each bar labeled with its total value.

AI-generated description

Stacked bar chart

MIT Licensed

Similar vizzes