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)

6faf06c479ed43cab1692161712211e3

Fork of Melting Data for Multiple Lines

0 stars0🌍 Public
Ssatra546
Last edited May 13, 2021
Created on May 13, 2021

This example visualizes population over time by region from 1950 to 2100, using data from the UN Population Estimates. It displays multiple line paths, each colored by region, with an ordinal color scale and a custom legend. The visualization uses d3.csv, d3.nest, d3.scaleTime, d3.scaleLinear, d3.line with curveBasis, and d3.axisBottom/axisLeft. Data is melted from wide to long format, filtered for regions, and rendered as SVG paths with mix-blend-mode multiplication.

AI-generated description