Fork of Persons of Concern StreamGraph by Origin
This fork of the Persons of Concern StreamGraph visualizes the total number of persons of concern (refugees, asylum-seekers, internally displaced persons, and others) from 2000 onward, grouped by country of origin and excluding countries with low counts. It uses a wiggle-offset stacked area chart rendered as SVG with d3.v4, with labels positioned via d3-area-label and interpolated yearly values computed from UNHCR Population Statistics data. The code employs d3.stack, d3.scaleTime, d3.scaleLinear, and d3.schemeCategory10 for coloring, with hover effects that highlight a path in black.
AI-generated descriptionA StreamGraph visualization of the total number of persons of concern grouped by country of origin.
The total number of persons of concern is the sum of Asylum-seekers, Internally displaced persons, Persons in IDP-like situation, Others of concern, Returned IDPs, Refugees (incl. refugee-like situations), Returnees, Persons in Refugee-like situation, and Stateless Persons. Excludes countries with relatively low counts. Data from UNHCR Population Statistics.
See also this variant that shows the data grouped by destination.
Draws from Labeled Streamgraph and Syrian Refugees by Settlement Type.
Uses d3-area-label to position labels.
Originally published in bl.ocks.org: Persons of Concern StreamGraph by Origin.