Skip to main content
100%

Melting Data for Multiple Lines

✓ Published0🌍 Public
SSatish Chandra Gupta
Last edited May 19, 2020
Created on May 19, 2020

This visualization shows population trends over time for different global regions, with multiple lines plotted on a time-series chart. The legend and color scale indicate which line corresponds to which region. The code uses d3.csv to load UN population data, d3.nest to group by region, d3.line with curveBasis for smooth paths, and d3.scaleTime and d3.scaleLinear for axes. A custom colorLegend module renders the interactive legend using SVG circles and text.

AI-generated description
MIT Licensed

Similar vizzes