Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Coronavirus Log Y Axis

Public visualization

Viewing a saved revision (read-only)

689c8166db13485cb9daeec19bdb34c7

Coronavirus Log Y Axis

0 stars1🌍 Public
BBen Brophy
Last edited Jan 7, 2022
Created on Jan 7, 2022

This example visualizes the global cumulative COVID-19 death toll over time, using a logarithmic y-axis to reveal the exponential growth pattern of the pandemic. A line chart shows daily totals from the Johns Hopkins CSSE time-series dataset, with gray gridlines and a “Now” marker at the most recent date. The React app uses D3 v7’s `scaleLog`, `scaleTime`, and `line` generators to build the SVG, while custom `XAxis` and `YAxis` components leverage `axisBottom`, `axisLeft`, and `tickSize` to render gridlines. Marker lines highlight the current value and date.

AI-generated description