Melting Data for multiple lines - new un Data
✓ Published1🌍 Public
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.
MIT Licensed