Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Selecting a Year on a Line Chart

Public visualization

Viewing a saved revision (read-only)

f7902bd1806f405cbc41e2472ea70132

Selecting a Year on a Line Chart

0 stars0🌍 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.