Skip to main content
100%

Melting Data with Multiple Lines

✓ Published1🌍 Public
ZZ-Richard
Last edited Jun 22, 2020
Created on Jun 22, 2020

This visualization displays global population trends from 1950 to 2100 as multiple colored lines, one per region, using a title, axes, and a color legend. Built with d3.v5, it uses `d3.nest` to group data, `d3.line` with `curveBasis` for smooth paths, and `scaleTime`/`scaleLinear` for axes. Data comes from UN population estimates and medium-variant projections, processed by a custom `melt` function, and rendered as SVG.

AI-generated description
MIT Licensed

Similar vizzes