Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Corona Virus Linear Y Axis Chart (React + D3 Axis)

Public visualization

Corona Virus Linear Y Axis Chart (React + D3 Axis)

0 stars1🌍 Public
KKazushige Okuma
Last edited Nov 1, 2021
Created on Nov 1, 2021

This example shows the cumulative global death toll from COVID-19 over time, plotted on a linear y-axis. The React component renders an SVG line chart using D3 scales (`d3.scaleTime`, `d3.scaleLinear`) and axes (`d3.axisBottom`, `d3.axisLeft`), with gridlines and annotation markers. It loads time-series data from a public GitHub CSV via `d3.csv`, aggregates daily totals, and draws the path with `d3.line`. The chart fills the viewport and updates automatically when the data arrives.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed