Coronavirus Line Chart with D3 Axes
✓ Published1🌍 Public
CChris Briggs
Last edited Nov 19, 2021
Created on Nov 19, 2021
Forked from Coronavirus Line Chart With Margin Convention
A line chart visualizes the cumulative global COVID-19 death toll over time using the John Hopkins Coronavirus Dataset. It plots daily death totals on a linear scale and dates on a time scale, with a red marker line highlighting the 1 million death milestone and an "now" marker at the most recent date. The chart is built with React and renders SVG paths using D3 v5’s `scaleTime`, `scaleLinear`, and `line` generators, while axes are drawn declaratively via `axisBottom` and custom marker-line components. Grid lines are styled with CSS.
AI-generated descriptionA line chart for John Hopkins Coronavirus Dataset with marker line at 1 million deaths.
MIT Licensed