Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Multing Data for Multiple Lines

Public visualization

Multing Data for Multiple Lines

0 stars0🌍 Public
Mmisferswift
Last edited Mar 29, 2020
Created on Mar 29, 2020

This visualization shows population trends over time for multiple world regions, with each line color-coded and sorted by its final population value. The chart includes axes with gridlines, a legend generated by a custom `colorLegend` function, and smoothed lines using `curveBasis`. Data is processed by melting wide-format CSV rows from UN population estimates into tidy long-form data, then nested by region with `d3.nest`. The visualization uses `d3.scaleTime`, `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.line`, rendering to SVG with D3 v5.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed