Melting Data for Multiple Lines
✓ Published2🌍 Public
This visualization displays population growth over time for various regions, using multiple lines to compare trends across areas. The chart employs a nested data structure, processing population estimates from the UN’s medium variant dataset for 1950-2100. The code utilizes D3’s `nest` and `line` functions with the `curveBasis` for smooth lines, while `scaleTime` and `scaleLinear` handle the axes. A color legend generated via a custom `colorLegend` function helps distinguish regions, and the rendering uses SVG with a `mix-blend-mode` for overlapping lines.
AI-generated descriptionThis line chart shows one week of temperature (in degrees Celcius) in cities around the world. The data comes from Data Canvas - Sense Your City.
MIT Licensed