Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

React plus d3 Axes

Public visualization

Viewing a saved revision (read-only)

4b33fc198c6f41d3a5de1f8486439742

React plus d3 Axes

0 stars1🌍 Public
Nnexus1058
Last edited Jun 9, 2021
Created on May 17, 2021

This example plots the global cumulative death toll from COVID-19 over time using a React component. The chart displays a black line on a white background, with red marker lines indicating the current date and the three-million-death threshold, while gridlines and axis labels are styled via CSS. The visualization uses React to manage the SVG rendering, while D3 v5 provides the time and linear scales, axis generation (`axisBottom`), line interpolation, and CSV data loading from the Johns Hopkins University repository, with date parsing and reduction over daily columns.

AI-generated description