Viewing a saved revision (read-only)
34fc6603ebc240198cfd598c5e9b8a8b
Fork of Coronavirus Deaths by Country over Time (with Voronoi Hover)
This fork of the interactive line chart from the visualization gallery uses a Voronoi overlay to make hovering over the chart more intuitive. The chart displays cumulative COVID-19 deaths over time for each country, using a logarithmic y-axis and data from the Johns Hopkins Coronavirus Dataset. Upon hovering, an invisible Voronoi cell highlights the nearest line, making it active, and a tooltip shows the country name, death count, and date. The visualization uses React, D3 v5, and SVG, with the Delaunay triangulation and Voronoi diagram built using `d3.Delaunay`.
AI-generated descriptionLine chart of Coronavirus cases to date, by country. Data from Johns Hopkins Coronavirus Dataset.
Hover to see details and illuminate lines.