Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

28_Temp Chart - Melting Data for Multiple Lines - Selecting a year on line chart

Public visualization

28_Temp Chart - Melting Data for Multiple Lines - Selecting a year on line chart

0 stars0๐ŸŒ Public
FFMajid-ops
Last edited Dec 24, 2020
Created on Dec 24, 2020

This visualization displays population trends over time for multiple global regions as distinct colored lines. A dark vertical marker indicates the currently selected year, which can be changed by moving the mouse across the chart, updating the selection dynamically. The chart uses D3.js v5 with SVG rendering, employing scales, axes, and line generators to plot the data. It loads UN population estimates and projections from CSV files, melts the data into a tidy format, and uses a color legend for region identification.

AI-generated description

The line chart

Comments

Sign in to join the discussion.

MIT Licensed