Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Coronavirus Linear Y Axis

Public visualization

Coronavirus Linear Y Axis

0 stars1🌍 Public
TThomas Cormican
Last edited Jan 14, 2022
Created on Jan 14, 2022
Forked from React + D3 Axes

This example shows the global cumulative death toll from COVID-19 over time using a linear y-axis scale, plotted as a single thick black line in an SVG. It loads time-series data from the Johns Hopkins CSSE GitHub repository, transforming daily columns into date and death-total pairs. The chart uses React with D3 v7’s `scaleTime` and `scaleLinear`, along with `axisBottom` and `axisLeft` for gridlines. A marker line and label indicate the most recent date, while another marker at 5,000,000 deaths provides a reference point on the y-axis.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed