Skip to main content
100%

Fork of Melting Data for Multiple Lines

✓ Published0🌍 Public
Aannadehtiarova
Last edited Feb 3, 2021
Created on Feb 3, 2021

A fork of an interactive D3 visualization, this example displays population over time by region from 1950 to 2100 using multiple line charts. It shows the rise and fall of population for various world regions, with each line color-coded and ordered by its final value. The visualization uses D3 v5 APIs including `nest()` for hierarchical grouping, `lineGenerator` with `curveBasis` for smooth line paths, and `scaleOrdinal` with `schemeCategory10` for coloration. Data is loaded from UN population estimates CSVs via `Promise.all()` and pivoted from wide to long format. A custom color legend is built with modular JavaScript functions, rendered in SVG with a multiplication blend mode.

AI-generated description
MIT Licensed

Similar vizzes