Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Melting Data for Multiple Lines

Public visualization

Viewing a saved revision (read-only)

3c3e1b136cf448d6903049880ca77d45

Melting Data for Multiple Lines

0 stars0🌍 Public
MMinwoo Pak
Last edited Jul 9, 2021
Created on Jul 8, 2021

This visualization displays regional population changes over time as multiple colored lines, with a vertical marker indicating the currently selected year. Users hover over the chart to update the selection, and a legend identifies each region. Built with D3 v5, it uses `nest` to group data by region and `scaleOrdinal` for colors, rendering with SVG. The data is sourced from UN population estimates, melted into tidy format for the line chart.

AI-generated description