🌍 Public
Viewing a saved revision (read-only)
689c8166db13485cb9daeec19bdb34c7
Coronavirus Log Y Axis
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