Voronoi Overlay with labels
✓ Published0🌍 Public
SShanmukh
Last edited Jun 3, 2024
Created on May 30, 2024
A log-scaled line chart tracks cumulative COVID-19 deaths per country over time, sourced from the Johns Hopkins dataset. On hover, a Voronoi overlay, generated via `d3.Delaunay` from the line chart's points, captures the mouse to highlight the nearest data point and display a tooltip with the country, total deaths, and date. The active country's line is emphasized in black. The visualization, built with React and D3 v5, renders SVG elements and uses `d3.timeParse` for date handling and D3's `extent`, `max`, and `scaleLog` for scaling.
AI-generated descriptionData from (Johns Hopkins Coronavirus Dataset)[https://github.com/CSSEGISandData/COVID-19/blob/master/csse_covid_19_data/csse_covid_19_time_series/time_series_19-covid-Deaths.csv]
MIT Licensed