Fork of Coronavirus Basic Line Chart With 10,000 Marker Line
✓ Published0🌍 Public
KKonJoDot
Last edited Nov 5, 2022
Created on Nov 5, 2022
A line chart tracks cumulative global COVID-19 deaths over time, with a horizontal marker line at 10,000 deaths. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, and `line` generators to map dates and death totals, rendering an SVG path with a thick black stroke. The marker line is drawn as a separate SVG `<line>` element, while the React component structure (via `useData`) loads the Johns Hopkins CSSE time-series CSV, aggregating daily death sums. The X-axis is delegated to a separate component using `d3.select`.
AI-generated descriptionMIT Licensed