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)

e928223050614a31b18ef070ad5b53b8

Melting data for multiple lines

0 stars0🌍 Public
SSagarikaS
Last edited Oct 6, 2019
Created on Oct 5, 2019

This visualization displays world population trends from 1950 to 2100 as multiple colored lines, one for each country or region, ordered by their final population value. It uses d3.line generators with a basis curve to create smooth paths, while d3.nest groups the data by country name. The chart includes axis labels, a color legend, and a title. Data is loaded from two CSV files, melted into a long format, and rendered as SVG, with the y-axis inverted to show population values.

AI-generated description