Skip to main content
100%

Melting Data for Multiple Lines

✓ Published0🌍 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
MIT Licensed

Similar vizzes