Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Melting Data for Multiple Lines

Public visualization

Viewing a saved revision (read-only)

2fa3816ec6594fb3ab5af79b41671713

Melting Data for Multiple Lines

0 stars0🌍 Public
Mmyskotima130
Last edited Feb 27, 2020
Created on Feb 26, 2020

This chart shows regional population trends from 1950 to 2100, drawing on United Nations population estimates and medium-variant projections. A vertical line marks the year 2020, and a color legend identifies each region. The code uses d3.nest and d3.scaleOrdinal to group and color the data, d3.line with curveBasis for smooth paths, and SVG for rendering. Separate modules handle data melting, the line chart, and the color legend.

AI-generated description