Skip to main content
100%

Coronavirus Deaths Over Time by Country With Voronoi Overlay

✓ Published1🌍 Public
TThomas Cormican
Last edited Jan 15, 2022
Created on Jan 14, 2022

This line chart shows cumulative COVID-19 deaths over time for multiple countries, with the most recently hovered country’s line highlighted in black. A Voronoi overlay, built with `d3.Delaunay` and `d3.voronoi`, simplifies mouse interaction by assigning each data point a cell that triggers the highlight. The chart uses `d3.scaleTime` for the x-axis, `d3.scaleLog` for the y-axis, and renders paths via `d3.line`. Data comes from the CSSEGISandData COVID-19 time series CSV, parsed with `d3.csv` and `d3.timeParse`.

AI-generated description
MIT Licensed

Similar vizzes