Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Melting Data for Multiple Lines

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed