Untitled
✓ Published3🌍 Public
This interactive stacked bar chart displays survey data across U.S. states for two years, showing proportions within three rating categories. A dropdown menu lets viewers switch between 2017 and 2018, triggering animated transitions of the bars, axes, and total-value labels. Built with D3 v5, the visualization uses `d3.stack()` to generate the layered series, `d3.scaleBand()` and `d3.scaleLinear()` for positioning, and SVG transitions with `transition.duration()` for smooth updates.
AI-generated descriptionStacked bar chart
MIT Licensed