Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Coronavirus Basic Line Chart With 10,000 Marker Line

Public visualization

Coronavirus Basic Line Chart With 10,000 Marker Line

0 stars6🌍 Public
CCurran Kelleher
Last edited Mar 21, 2020
Created on Mar 21, 2020

This example visualizes the global cumulative COVID-19 death toll over time, with a horizontal marker line at the 10,000-death threshold. The line chart uses React and D3 v5, employing `d3.scaleTime`, `d3.scaleLinear`, and `d3.line` to render the SVG path. Data is fetched as CSV from the CSSEGISandData COVID-19 repository and transformed with `d3.csv` and `d3.timeParse`. The marker line is drawn as an SVG `<line>` element at the y-axis position corresponding to 10,000 deaths, highlighting the pandemic's early growth milestone.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed