Streamgraph 2.0
✓ Published1🌍 Public
This streamgraph displays changes in Dutch societal indicators from 2000 to 2018, including happiness, depression-related deaths, suicides, and bachelor’s degree graduates. The visualization uses a silhouette offset to center the stacked areas around a central axis, with each colored layer representing a different metric. Built with D3 v4, the example loads data from a CSV file and uses `d3.stack` with `d3.stackOffsetSilhouette` to compute layer positions, while `d3.area` generates the SVG paths. An ordinal color scale applies the `d3.schemeDark2` palette, and interactive tooltips reveal the layer name on mouse hover.
AI-generated descriptionMIT Licensed