Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Food Production StreamGraph by Origin

Public visualization

Viewing a saved revision (read-only)

ccfe2e961f0e473ba69c60514ca710d2

Food Production StreamGraph by Origin

0 stars0🌍 Public
Llrsavoie@wpi.edu
Last edited Apr 24, 2024
Created on Apr 24, 2024

A streamgraph visualization shows the total number of persons of concern per year, grouped by country of origin, using data from UNHCR Population Statistics. The stacked areas are rendered in SVG with d3.v4, using d3.stack with a wiggle offset and inside-out ordering to create the flowing shape. Labels are positioned via d3-area-label, while d3.scaleTime and d3.scaleLinear map the axes. The code filters out countries with low total counts and interpolates yearly values between recorded data points.

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.