Skip to main content
100%

Anual AQI (2015) of Tianjin, Shanghai and Guangzhou

✓ Published0🌍 Public
LLichenYang
Last edited Dec 14, 2019
Created on Dec 14, 2019

This visualization shows the annual Air Quality Index (AQI) for 2015 across three Chinese cities—Tianjin, Shanghai, and Guangzhou—as a streamgraph with wiggling stacked areas. Each city’s monthly AQI values are interpolated to create smooth, colored bands. The visualization uses d3.stack with d3.stackOffsetWiggle and d3.stackOrderInsideOut to generate the layers, and d3.area with d3.curveBasis for rendering. Hovering over a path highlights it in black. The code loads data from a local AQI.json file and employs d3-scaleTime for the x-axis and d3-scaleOrdinal with d3.schemeCategory10 for colors.

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