Coronavirus Line Chart with Marker Line Margin Convention
✓ Published1🌍 Public
This example shows the cumulative global COVID-19 death totals over time as a black line chart, with horizontal and vertical marker lines highlighting the one-million-death threshold and the most recent date. The visualization uses React components with ES6 modules, while D3 v5’s `scaleTime`, `scaleLinear`, and `line` APIs handle the data mapping and path generation. Data comes from the CSSE COVID-19 time series CSV, and the chart includes margin-based positioning for axes and markers in an SVG render.
AI-generated descriptionSplitting React components into multiple files using ES6 modules. Bonus: React Fragments!
MIT Licensed