Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

React + d3 axes + log scale

Public visualization

Viewing a saved revision (read-only)

aabc1c6377b6425490ac789aa41fff21

React + d3 axes + log scale

0 stars1🌍 Public
Ssurikmeetr
Last edited Apr 24, 2021
Created on Apr 24, 2021

This example shows a line chart of global COVID-19 death totals over time, using a logarithmic y-axis to accommodate the wide range of values. The chart is built with React and D3 v6, combining SVG rendering with D3’s `scaleLog`, `scaleTime`, `axisBottom`, and `axisLeft` APIs for the axes. The line is generated with `line()` and plotted from a CSV dataset fetched from the CSSE at Johns Hopkins, with data transformed via `csv` and `timeParse`.

AI-generated description

React + D3 to display coronav line chart