Skip to main content
100%

Melting Data for Multiple Lines

✓ Published1🌍 Public
Ssteveaigbe
Last edited Nov 27, 2020
Created on Nov 27, 2020

This visualization shows population trends over time for regions, displaying multiple lines that trace changes from 1950 to 2100. The data is sourced from UN population estimates and medium variant projections, processed through a melting operation that converts wide-format data into long format. The chart uses D3.js v5 APIs including `scaleTime`, `scaleLinear`, `scaleOrdinal`, `line` with `curveBasis` for smooth paths, and `nest` for grouping by region. An ordinal color scale with `schemeCategory10` assigns colors, while a custom legend shows region names.

AI-generated description
MIT Licensed

Similar vizzes