React + D3 Axes
✓ Published1🌍 Public
KKevin McMorrow
Last edited Dec 17, 2021
Created on Dec 17, 2021
This example shows the global cumulative death toll from COVID-19 over time, using a line chart with time and linear scales. D3's `scaleTime`, `scaleLinear`, and `line` generate the path from CSV data, while React components wrap D3 selections for gridlines and axes via `axisBottom`. Horizontal and vertical marker lines label the one-million-death threshold and the current date. The chart renders as SVG, with data fetched from the CSSE COVID-19 GitHub repository.
AI-generated descriptionMIT Licensed