Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

52) Coronavirus with Log Y Scale and Labels

Public visualization

Viewing a saved revision (read-only)

da498fae4b8345c386c191dd1ae6c95f

52) Coronavirus with Log Y Scale and Labels

0 stars0🌍 Public
Llefat92
Last edited Aug 24, 2023
Created on Aug 24, 2023

This example visualizes cumulative global coronavirus deaths over time using a logarithmic y-axis to accommodate the data’s exponential growth. The line chart, rendered as an SVG path via React and d3.v5, labels the axes and includes a marker line at 10,000 deaths. The code uses `d3.scaleLog`, `d3.scaleTime`, `d3.line`, and `d3.axisLeft` with tick formatting, pulling data from the Johns Hopkins Coronavirus Dataset.

AI-generated description

Line chart of Coronavirus cases to date. Data from Johns Hopkins Coronavirus Dataset.