Foreign Born in Canada
A stacked area chart visualizes 150 years of Canadian immigration, showing the percentage of foreign-born population by region of origin from 1871 to 2011. The chart displays how the composition of immigrants shifts over time, with labels positioned using the d3-area-label library. Data is rendered as SVG paths using d3.stack with stackOffsetExpand to normalize values to percentages. The visualization uses d3.axisBottom for time-based x-axis ticks and d3.scaleOrdinal with d3.schemeCategory10 for color encoding.
AI-generated descriptionA stacked area chart visualization of 150 years of immigration in Canada. This variant shows the data scaled by percentages.
See also:
- All Foreign born population in Canada, which is scaled by the actual values.
- Aggregated Foreign born population in Canada, which is scaled and aggregated.
Uses d3-area-label to position labels.
Inspired by The Economist: Where do Canada’s immigrants come from?
forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/30e50fe82819ef73c6b8d9f2d31b99a8'>How Americans Spend Time</a>