🌍 Public
Viewing a saved revision (read-only)
e235614f90474b35a845f8b28feec631
Coronav deaths line chart
This chart displays the total global COVID-19 deaths over time as a single black line rising across a white SVG canvas, with a teal horizontal marker line fixed at the one-million death threshold. The React component uses d3’s `scaleTime`, `scaleLinear`, and `line` generator to map dates and cumulative death totals from the CSSE COVID-19 time series dataset (a CSV loaded via d3.csv). The marker line’s position is computed with `yScale(1000000)`, while the path is rendered directly to SVG coordinates.
AI-generated descriptionReact + D3 to display coronav line chart