Skip to main content
100%

Untitled

✓ Published3🌍 Public
Pphamiter253
Last edited Mar 24, 2020
Created on Mar 24, 2020
Forked from Untitled

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 description

Stacked bar chart

MIT Licensed

Similar vizzes