Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Melting Data for Multiple Lines

Public visualization

Melting Data for Multiple Lines

0 stars0🌍 Public
Sshehrbano1248
Last edited Jun 1, 2020
Created on Jun 1, 2020

This visualization animates the growth of COVID-19 confirmed cases across multiple countries, using stacked line paths that extend day-by-day. The y-axis applies a random multiplier to China’s data after day 52, creating a visual distortion. Built with D3 v5, it uses `scaleLinear`, `nest`, and `line` with `curveBasis` to generate smooth trajectories, while `transition` animates the lines. Country labels and color-coded legends are rendered as SVG text and circles, with data sourced from CSV files.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed