🌍 Public
Fork of Coronavirus Deaths by Country over Time (with Voronoi Hover)
MMaciek Sitkowski
Last edited Oct 23, 2021
Created on Oct 23, 2021
This chart tracks cumulative COVID-19 deaths by country over time on a logarithmic scale, using data from the Johns Hopkins Coronavirus Dataset. Each grey line represents a country’s death trajectory, and hovering over a data point via a Voronoi overlay highlights the corresponding country’s full series in black while displaying a tooltip with the exact date and death count. The visualization is built with React and D3 v5, employing `d3.scaleLog`, `d3.line`, and `d3.Delaunay` from the d3-delaunay library to enable smooth hover interactions across the SVG-rendered paths.
AI-generated descriptionLine chart of Coronavirus cases to date, by country. Data from Johns Hopkins Coronavirus Dataset.
Hover to see details and illuminate lines.
MIT Licensed
Comments
Sign in to join the discussion.