Skip to main content
Public

Share visualization

Loading preview…

Fork of Coronavirus Deaths Over Time by Country With Voronoi Overlay

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Coronavirus Deaths Over Time by Country With Voronoi Overlay

0
Jjesramyep1263
Last edited Feb 1, 2021
Created on Feb 1, 2021

This example shows global coronavirus deaths over time as a set of cumulative line charts, one per country, on a log-scaled y-axis. Each country’s daily death total is plotted using D3’s `scaleTime` and `scaleLog` scales, with the line generator drawing paths from the Johns Hopkins dataset. A red Voronoi overlay, built with `d3.Delaunay` and `d3-delaunay`'s `voronoi` method, is rendered on top of the chart, dividing the plotting area into cells based on three hard-coded points, though hover interactions are only logged to the console. The visualization is built with React and rendered as SVG, with axes created via `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed