Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Coronavirus Line Chart with Marker Line

Public visualization

Viewing a saved revision (read-only)

4bab595b1733410bb581b46784085e09

Coronavirus Line Chart with Marker Line

0 stars1🌍 Public
KKtuzinowski
Last edited Aug 2, 2021
Created on Jul 22, 2021
Forked from Hello HTML

This line chart displays the global cumulative COVID-19 death toll over time from the Johns Hopkins dataset, with a vertical marker line at the current date and a horizontal marker line at the one-million-death threshold. The visualization uses React to render an SVG path generated by d3.line, with d3.scaleTime and d3.scaleLinear mapping dates and death totals. Marker lines are drawn as separate React components (XMarkerLine, YMarkerLine) using d3 scales for positioning, while the data is loaded and parsed via d3.csv.

AI-generated description

This program loads and parses the Johns Hopkins Coronavirus Dataset