Skip to main content
100%

Fork of Melting Data for Multiple Lines

✓ Published0🌍 Public
Jjpl-web
Last edited Oct 26, 2021
Created on Oct 26, 2021

This visualization shows population trends over time for global regions, with multiple colored lines plotted on axes labeled “Time” and “Population.” The data combines UN population estimates from 1950–2014 with medium-variant projections from 2015–2100, processed through a custom `melt` function. It uses d3.scaleTime, d3.scaleLinear, d3.scaleOrdinal with schemeCategory10, d3.line with curveBasis, d3.nest for grouping, and axis generators with tick formatting. A custom colorLegend component displays the categorical color scale, while SVG paths are styled with mix-blend-mode for overlapping lines.

AI-generated description
MIT Licensed

Similar vizzes