Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Coronavirus Deaths Over Time by Country With Voronoi Overlay

Public visualization

Fork of Coronavirus Deaths Over Time by Country With Voronoi Overlay

0 stars0🌍 Public
SSteinarV-design
Last edited Apr 7, 2021
Created on Apr 7, 2021

A fork of a line chart of cumulative COVID-19 deaths over time by country, using a log-scaled y-axis, renders the global dataset from the Johns Hopkins Coronavirus GitHub repository. React components build SVG paths for each country’s time series, while a D3 Voronoi overlay (computed via `d3.Delaunay`) captures mouse hover events to highlight the nearest data point’s country line, turning it black and thicker. The chart uses `d3.scaleTime`, `d3.scaleLog`, and `d3.line` to encode the data, with axes from `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

Line chart of Coronavirus cases to date. Data from Johns Hopkins Coronavirus Dataset.

Comments

Sign in to join the discussion.

MIT Licensed