Skip to main content
100%

Streamgraph 2.0

✓ Published1🌍 Public
EEline000
Last edited May 24, 2020
Created on May 19, 2020
Forked from Streamgraph 1.0

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 description
MIT Licensed

Similar vizzes