Skip to main content
100%

Select a Year form Chart

✓ Published0🌍 Public
Ssongr0
Last edited Aug 2, 2019
Created on Jul 16, 2019

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 description
MIT Licensed

Similar vizzes