Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Foreign Population in Germany by Selected Citizenships and Years

Public visualization

Viewing a saved revision (read-only)

424775fc2ba5464aaac67adb090a07d1

Foreign Population in Germany by Selected Citizenships and Years

1 star1🌍 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