Fork of Persons of Concern StreamGraph by Origin
A streamgraph visualizes the total number of persons of concern grouped by country of origin, summing categories like refugees, asylum-seekers, and internally displaced persons. The interactive D3.js v4 visualization uses `d3.stack` with a wiggle offset and inside-out ordering, rendering static SVG paths with d3-area, a time-based x-scale, and labels positioned via d3-area-label. Data is fetched from a remote JSON file, filtered to countries with over one million people, and interpolated across years using d3's bisector and date range methods.
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.