🌍 Public
Viewing a saved revision (read-only)
d89d4ca93e5744978b6c12a74b3bd797
Coronavirus Deaths by Country over Time (with Voronoi Hover)
AAmit Wadhwa
Last edited Apr 26, 2020
Created on Apr 26, 2020
A multi-line chart displays cumulative COVID-19 deaths over time for each country, using a log scale on the y-axis. Data comes from the Johns Hopkins Coronavirus dataset and is rendered as SVG paths in React. A Voronoi overlay, built with `d3.Delaunay`, makes it easy to hover near any point on the chart; hovering highlights the nearest country’s line and shows a tooltip with the name, death count, and date, using `d3.scaleTime`, `d3.scaleLog`, and `d3.line()`.
AI-generated descriptionLine chart of Coronavirus cases to date, by country. Data from Johns Hopkins Coronavirus Dataset.
Hover to see details and illuminate lines.