Select a Year form Chart
✓ Published0🌍 Public
This visualization shows global population trends by region over time, with a movable vertical line that selects a specific year to highlight the corresponding values across all displayed series. Users can hover to change the selected year, updating the line’s position via `d3.mouse` and `scale.invert`. The chart renders multiple region lines using `d3.line` and `curveBasis`, with a color legend generated by the custom `colorLegend` module. Data comes from UN population estimates and medium-variant projections, processed with `d3.csv` and `nest`, and drawn as SVG paths.
AI-generated descriptionMIT Licensed