Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart with Multiple Lines

Public visualization

Line Chart with Multiple Lines

0 stars1🌍 Public
RRoger Yu-Hsiang Lo
Last edited Feb 25, 2020
Created on Feb 25, 2020

This line chart visualizes global population trends over time, grouped by world regions, using a multi-line layout with a categorical color legend. It combines historical estimates (1950–2014) with medium-variant projections (2015–2100) from UN population data. The visualization uses D3 v5 with `scaleTime`, `scaleLinear`, `scaleOrdinal`, `axisLeft`, `axisBottom`, `line`, `curveBasis`, and `nest` to structure and render the paths, while a custom `colorLegend` function displays the region labels as SVG circles and text.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed