Skip to main content
100%

Melting Data for Multiple Lines

✓ Published1🌍 Public
Rrigt
Last edited Jun 12, 2020
Created on Apr 1, 2020

This visualization animates COVID-19 confirmed case counts for several countries, showing each country’s trajectory as a distinct colored line over days since the outbreak began. The chart uses D3 v5, with scales from `scaleLinear` and `scaleOrdinal`, and draws paths via `d3.line` with a basis curve. The data comes from a CSV file that was melted from a wider format. As the animation progresses, it redraws the lines and updates circles and labels at each line’s endpoint.

AI-generated description
MIT Licensed

Similar vizzes