Melting Data for Multiple Lines
✓ Published1🌍 Public
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 descriptionMIT Licensed