🌍 Public
Fork of Coronavirus Deaths by Country over Time (with Voronoi Hover)
DDominic Bluawofogbe
Last edited Dec 15, 2021
Created on Dec 15, 2021
This visualization shows cumulative coronavirus deaths over time for each country, using a log-scaled y-axis to accommodate wide disparities in death counts. Hovering over any point highlights the corresponding country’s line in black and displays a tooltip with the country name, death total, and date. The interactivity is powered by a Voronoi overlay built with `d3.Delaunay`, which assigns each data point a cell that captures nearby mouse events. The chart is rendered with React and SVG, with axes and scales from d3, and pulls data from the Johns Hopkins COVID-19 dataset.
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.