Skip to main content
100%

Coronavirus Line Chart with 10,000 Marker Line

✓ Published1🌍 Public
MMichael Bruno
Last edited Feb 27, 2023
Created on Feb 27, 2023

A line chart shows the global cumulative death toll from COVID-19 over time, with a horizontal marker line highlighting the threshold of 10,000 deaths. The chart uses D3 v5's `scaleTime`, `scaleLinear`, and `line` to generate the path, while React renders the SVG. The X axis maps dates parsed with `timeParse`, and the Y axis deaths from the CSSE global time-series CSV. Styling uses black strokes, with the marker line drawn as a separate SVG `<line>` element. The visualization waits for the remote data to load before drawing.

AI-generated description
MIT Licensed

Similar vizzes