🌍 Public
Viewing a saved revision (read-only)
da498fae4b8345c386c191dd1ae6c95f
52) Coronavirus with Log Y Scale and Labels
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 descriptionLine chart of Coronavirus cases to date. Data from Johns Hopkins Coronavirus Dataset.