Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Melting Data for Multiple Lines Rogery

Public visualization

Fork of Melting Data for Multiple Lines Rogery

0 stars0๐ŸŒ Public
RRogery Vargas
Last edited Apr 19, 2021
Created on Apr 19, 2021

This example shows population trends over time for world regions, with multiple lines plotted on a shared time axis and colored by region. The chart uses a legend to identify regions, with lines sorted by their final population value. It loads data from UN population estimates CSV files, processes it with a custom melt function, and renders using D3 v5 with SVG. Key APIs include d3.line, d3.scaleTime, d3.scaleLinear, d3.scaleOrdinal, d3.nest, and d3.axisBottom.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed