Skip to main content
100%

Selecting a Year on a Line Chart

✓ Published0🌍 Public
Bbprokopowicz
Last edited Apr 7, 2020
Created on Apr 7, 2020

A line chart displays population trends over time for global regions, with an interactive vertical line marking a selected year. Users hover over the chart to update the selection, which shifts the line and highlights the corresponding data point. The visualization uses d3.line, d3.scaleTime, d3.scaleLinear, and d3.nest to group data from UN population estimates, rendered as SVG paths with a color legend.

AI-generated description

D3 course follow along.

MIT Licensed

Similar vizzes