🌍 Public
Viewing a saved revision (read-only)
902ad354a48344a99acf3f4704bea30d
React + D3 Axis
Jj-PGi
Last edited Aug 5, 2021
Created on Aug 5, 2021
Forked from Fork of Coronavrius Line Chart with marker line
This chart visualizes the cumulative global death toll from COVID-19 over time, sourced from the Johns Hopkins CSSE time-series data. Using React components, it leverages D3 functions such as `scaleTime`, `scaleLinear`, `line`, and `axisBottom` to create an SVG line chart, with horizontal and vertical marker lines highlighting the 3,000,000 death milestone and the most recent date. The chart’s axes are drawn via D3’s `axisBottom` within a React `useRef`/`useEffect` wrapper, while CSS styles the tick marks and line.
AI-generated description