Skip to main content
100%

Fork of Selecting a Year on a Line Chart

✓ Published0🌍 Public
Vvivianaaai@qq.com
Last edited Mar 18, 2023
Created on Mar 18, 2023

This visualization displays population trends over time for multiple world regions, using a line chart where each colored line represents a different region. Users can hover over the chart to select a specific year, which is marked by a vertical line and updates the visualization accordingly. The implementation uses D3 v5 with SVG rendering, employing scales like `scaleTime` and `scaleLinear`, the `line` generator with `curveBasis`, and a `nest` operation to group data by region. Data comes from UN population estimates and medium variant projections, processed with the `csv` loader.

AI-generated description
MIT Licensed

Similar vizzes