Fork of Melting Data for Multiple Lines
✓ Published0🌍 Public
This visualization shows population trends over time for multiple world regions, with each region represented as a colored line. It displays data from 1950 to 2100, combining UN population estimates with medium variant projections. The chart orders lines by their final population values and uses a legend to identify regions. The code employs d3.nest for data grouping, d3.line with curveBasis for smooth paths, and d3.scaleTime for the time axis. The underlying data is melted from wide to long format, with yearly values converted to date objects.
AI-generated descriptionMIT Licensed