🌍 Public
Viewing a saved revision (read-only)
16c349a100554ff38e1e1cc513f83604
Selecting a Year on a Line Chart
This interactive line chart displays global population trends across regions from 1950 to 2100, with a vertical marker indicating the currently selected year. Users hover over the chart to update the marker and select a new year. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `nest`, and `line` with `curveBasis`, rendering in SVG. Data comes from UN population estimates and medium-variant projections, processed via CSV loading and a custom melt function.
AI-generated description