Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Coronavirus Deaths by Country over Time (with Voronoi Hover)

Public visualization

Coronavirus Deaths by Country over Time (with Voronoi Hover)

0 stars0🌍 Public
Wwindwaver
Last edited Apr 18, 2021
Created on Apr 18, 2021

This chart displays cumulative COVID-19 deaths over time for each country, with a log-scaled y-axis to accommodate wide variation in totals. A Voronoi overlay built with `d3.Delaunay` and `d3.voronoi` enables hovering anywhere near a data point to highlight that country’s entire line and show its latest death count, date, and name in a tooltip. Data comes from the Johns Hopkins Coronavirus dataset, rendered as SVG paths using React and D3’s `scaleTime`, `scaleLog`, and `line` generators.

AI-generated description

Line chart of Coronavirus cases to date, by country. Data from Johns Hopkins Coronavirus Dataset.

Hover to see details and illuminate lines.

Comments

Sign in to join the discussion.

MIT Licensed