Fork of Coronavirus Basic Line Chart With 10,000 Marker Line
✓ Published0🌍 Public
Mmfehlhaber
Last edited Mar 1, 2021
Created on Mar 1, 2021
This chart displays the cumulative global death toll from COVID-19 over time as a single black line, with a horizontal marker line at the 10,000-death threshold. The visualization uses React to render an SVG containing a `d3.line` path and a static `<line>` element. Data is loaded from a CSSEGISandData GitHub CSV using `d3.csv` and aggregated by day via `timeParse` and array reduction. The chart updates its scales dynamically using `d3.scaleTime` and `d3.scaleLinear` based on the extent and maximum of the dataset.
AI-generated descriptionMIT Licensed