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)

965b4aaff93f4373971e618c03d5abaf

Melting Data for Multiple Lines

0 stars0🌍 Public
KKrishu
Last edited Aug 7, 2020
Created on Aug 6, 2020

The chart displays world population projections from 1950 to 2100, distinguishing development groups such as more developed, less developed, and least developed countries. The United Nations data is split into two CSV files and melted into a single, tidy format for visualization. Multiple colored lines are rendered as SVG paths using `d3.line` with `curveBasis`, positioned by `scaleTime` and `scaleLinear`. A vertical line marks the year 2018, and a custom `colorLegend` shows the categorical mapping using `d3.scaleOrdinal` with `schemeCategory10`.

AI-generated description