🌍 Public
Viewing a saved revision (read-only)
3c3e1b136cf448d6903049880ca77d45
Melting Data for Multiple Lines
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