Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

selecting year on line chart

Public visualization

Viewing a saved revision (read-only)

b6216cee83fe417f955515c90490645b

selecting year on line chart

0 stars0🌍 Public
Aakshayms0
Last edited Nov 11, 2022
Created on Nov 11, 2022
Forked from HTML Starter

A line chart displays population trends over time for global regions, with a vertical black line marking a selected year. Moving the mouse across the chart updates this selection, recomputing the line’s position. The visualization uses d3.nest to group data by region, d3.scaleTime and d3.scaleLinear for axes, and d3.line with curveBasis for smooth paths. Data comes from UN population estimates (1950–2014) and medium-variant projections (2015–2100), rendered as SVG with a color legend for region identification.

AI-generated description