Skip to main content
100%

Fork of Melting Data for Multiple Lines 12

✓ Published0🌍 Public
Ppplomith
Last edited Jun 19, 2021
Created on Jun 19, 2021

This visualization shows regional population trends over time, with multiple colored lines representing different world regions from 1950 to 2100. The chart uses a line chart with a time-based x-axis and a population y-axis, featuring interactive zoom functionality. The code leverages d3.csv, d3.nest, d3.line with curveBasis, d3.scaleTime, and d3.scaleOrdinal with schemeCategory10. A custom colorLegend component renders a categorical legend. The data comes from UN population estimates, processed through a custom melt function that reshapes the dataset for visualization. The SVG rendering includes grid lines and axis labels.

AI-generated description
MIT Licensed

Similar vizzes