Skip to main content
100%

Foreign Population in Germany by Selected Citizenships and Years

✓ Published1🌍 Public
GGonzalo Montañés
Last edited Dec 5, 2021
Created on Nov 12, 2021
Forked from Hello VizHub

This example shows the foreign population in Germany by selected citizenships and years, using a streamgraph to display changes across six categories. It uses d3.stack with the stackOffsetWiggle and stackOrderInsideOut settings, and renders the chart with SVG paths generated via d3.area. The data comes from two CSV files, merged and aggregated by the code before rendering. The visualization includes major and minor time axes, and uses d3.scaleOrdinal with a category color scheme to differentiate the series.

AI-generated description
MIT Licensed

Similar vizzes