Coronavirus Basic Line Chart With 10,000 Marker Line
✓ Published2🌍 Public
CCurran Kelleher
Last edited Mar 21, 2020
Created on Mar 21, 2020
This chart shows the total number of COVID-19 deaths over time as a single black line, with a horizontal reference line marking the 10,000-death threshold and a label for that value. Built with React and D3 v5, the code uses `d3.scaleTime` and `d3.scaleLinear` for axes, `d3.line` to generate the path, and `d3.extent`, `d3.max`, and `d3.csv` to fetch and parse the Johns Hopkins time-series dataset. The SVG rendering uses a `<path>` element for the line and a `<line>` for the marker, with styling applied through CSS.
AI-generated descriptionLine chart of Coronavirus cases to date. Data from Johns Hopkins Coronavirus Dataset.
MIT Licensed