Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CoronaVirus Deaths Overtime By Country

Public visualization

Viewing a saved revision (read-only)

ac0e2fb0ad53480db26c4f9786a7b241

CoronaVirus Deaths Overtime By Country

0 stars0🌍 Public
33ssalunke
Last edited Mar 10, 2021
Created on Mar 9, 2021

This visualization displays global coronavirus death totals over time, with each country represented as a thin gray line on a logarithmic scale. A Voronoi overlay enables interactive country selection, highlighting the chosen line in black on hover. Built with React and D3 v5, the chart uses `d3.scaleLog`, `d3.scaleTime`, and `d3.line` to generate SVG paths. Data comes from the CSSEGISandData COVID-19 time series, fetched via `d3.csv`. The Voronoi diagram is constructed with `d3-delaunay` to map mouse position to the nearest data point.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.