Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Coronavirus Line Chart with 10,000 Marker Line

Public visualization

Coronavirus Line Chart with 10,000 Marker Line

0 stars1🌍 Public
PPeter Krevenets
Last edited Apr 4, 2021
Created on Apr 1, 2021
Forked from Smiley Face Part I

This visualization shows the cumulative global death toll from COVID-19 over time as a single black line chart, with a horizontal marker line highlighting the point at which 100,000 deaths were reached. The chart uses React to manage the SVG rendering, while D3 v6 functions like `scaleTime`, `scaleLinear`, `extent`, and `line` compute the scales and path geometry. The data is fetched live from the CSSEGISandData GitHub repository’s time-series CSV and aggregated by summing daily deaths across all countries. The full-viewport SVG is drawn with a stroke-width of 4 for the main path and a thinner line for the fixed threshold.

AI-generated description

Coronavirus Line Chart

Comments

Sign in to join the discussion.

MIT Licensed