Skip to main content
100%

Melting Data for multiple lines - new un Data

✓ Published1🌍 Public
AAjit Singh
Last edited Jan 17, 2021
Created on Jan 16, 2021

This visualization displays world population estimates from 1950 to 2100 as multiple smoothed lines, one per region, colored by category. The chart uses d3.line with curveBasis, d3.scaleTime, d3.scaleLinear, and d3.nest to group data, while a custom colorLegend function renders the ordinal color scale with SVG circles and text. Data comes from UN population estimates CSV files, melted from wide to long format.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes