Skip to main content
100%

Persons of Concern StreamGraph by Origin

✓ Published1🌍 Public
JJerfaas
Last edited Apr 2, 2020
Created on Apr 2, 2020

This streamgraph shows the total number of persons of concern to UNHCR over time, grouped by country of origin, with each colored band representing a country. Using D3.js v4, it employs `d3.stack` with `d3.stackOffsetWiggle` and `d3.stackOrderInsideOut` to create the layered layout, and `d3.area` with `d3.curveBasis` for smoothed curves. Data from the UNHCR Population Statistics API is loaded via `d3.json`, and labels are positioned using the `d3-area-label` library. The visualization filters to countries with over one million total persons of concern and renders as an SVG.

AI-generated description

A 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.

MIT Licensed

Similar vizzes