Population time-series
✓ Published3🌍 Public
This example shows animated population time-series lines for world regions from 1950 to 2100, ordered by their final population values. The chart uses d3.line, d3.scaleTime, and d3.scaleLinear to render the paths, with a color legend built via d3.scaleOrdinal. Data is loaded from two CSV files and melted into tidy rows using d3.nest and d3.range, with axes formatted by d3.axisBottom and d3.axisLeft. The SVG updates through a transition on the legend circles, while the line paths use CSS mix-blend-mode for overlapping lines.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed