🌍 Public
Viewing a saved revision (read-only)
d5c3590177a94c8991c6cb1acb1e7456
Melting Data for multiple lines - new un Data
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 descriptionAn example including some commonly used features of SVG.