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
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 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