Skip to main content
100%

Melting Data for Multiple Lines

✓ Published0🌍 Public
Rrosyprincess
Last edited Sep 29, 2019
Created on Sep 29, 2019

This example shows population over time by region as multiple lines, with regions sorted by their final population and a color legend on the right. The visualization uses d3.line with curveBasis to generate smooth paths, d3.nest to group data by region, and d3.scaleOrdinal with schemeCategory10 for colors. Data is melted from wide UN population CSV files covering 1950–2100, combining estimates and medium-variant projections.

AI-generated description
MIT Licensed

Similar vizzes