Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Melting Data for Multiple Lines

Public visualization

Viewing a saved revision (read-only)

d2259840058a4167b0a124bb9ad93fff

Fork of Melting Data for Multiple Lines

0 stars0🌍 Public
EEmmanuel Chukwujindu
Last edited Mar 28, 2021
Created on Mar 28, 2021

This visualization displays population trends over time for different global regions, using multiple lines to compare regional growth from 1950 to 2100. The chart employs D3 v5 APIs including `scaleTime`, `scaleLinear`, `scaleOrdinal`, `nest`, and `line` with `curveBasis` to render smoothed paths. Data is sourced from UN population estimates and medium-variant projections, processed through a custom melt function. A color legend created with `colorLegend.js` identifies each region, while the y-axis uses a custom formatting function to abbreviate population values.

AI-generated description