Skip to main content
100%

Coronavirus Log Y Axis

✓ Published1🌍 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
MIT Licensed

Similar vizzes