Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Melting data for multiple lines

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed