Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CPSC 436V Week 7 - Melting Data for Multiple Lines

Public visualization

Viewing a saved revision (read-only)

b8392e739fbc4dd2842368307993dcd6

CPSC 436V Week 7 - Melting Data for Multiple Lines

0 stars2🌍 Public
JJordan Chiu
Last edited Feb 18, 2020
Created on Feb 18, 2020

This visualization shows global population trends over time for major world regions, with each region drawn as a distinct colored line using a basis curve. The chart orders the color legend by each line’s final population value, and employs D3’s `nest` and `scaleOrdinal` with `schemeCategory10` to group and color the data. It loads UN population estimates from 1950 to 2014, merging them with medium-variant projections through 2100, and renders via SVG with custom axes and a standalone `colorLegend` component.

AI-generated description

Tutorial from YouTube