Melting data for multiple lines
✓ Published0🌍 Public
This visualization displays world population trends from 1950 to 2100 as multiple colored lines, one for each country or region, ordered by their final population value. It uses d3.line generators with a basis curve to create smooth paths, while d3.nest groups the data by country name. The chart includes axis labels, a color legend, and a title. Data is loaded from two CSV files, melted into a long format, and rendered as SVG, with the y-axis inverted to show population values.
AI-generated descriptionMIT Licensed