28_Temp Chart - Melting Data for Multiple Lines - Selecting a year on line chart
✓ Published0🌍 Public
FFMajid-ops
Last edited Dec 24, 2020
Created on Dec 24, 2020
Forked from 27_Temp Chart - Melting Data for Multiple Lines
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 descriptionThe line chart
MIT Licensed