Skip to main content
100%

React + D3 Axes

✓ Published1🌍 Public
PPeter Krevenets
Last edited Apr 5, 2021
Created on Apr 5, 2021

This example shows a line chart of cumulative global COVID-19 deaths over time, with a vertical marker at the most recent date and a horizontal marker at one million deaths. It builds the axes and chart using React components that wrap D3 v6 APIs, including `scaleTime`, `scaleLinear`, `axisBottom`, and `line`. Data is loaded via `d3.csv` from a Johns Hopkins CSSE repository. The chart renders as SVG, with styled gridlines and marker labels formatted using `d3.format`.

AI-generated description

Coronavirus Line Chart

MIT Licensed

Similar vizzes