Skip to main content
Public

Share visualization

Loading preview…

Coronavirus Line Chart with D3 Axes

vizhub.com

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

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

Coronavirus Line Chart with D3 Axes

0 stars1Public
CChris Briggs
Last edited Nov 19, 2021
Created on Nov 19, 2021

A line chart visualizes the cumulative global COVID-19 death toll over time using the John Hopkins Coronavirus Dataset. It plots daily death totals on a linear scale and dates on a time scale, with a red marker line highlighting the 1 million death milestone and an "now" marker at the most recent date. The chart is built with React and renders SVG paths using D3 v5’s `scaleTime`, `scaleLinear`, and `line` generators, while axes are drawn declaratively via `axisBottom` and custom marker-line components. Grid lines are styled with CSS.

AI-generated description

A line chart for John Hopkins Coronavirus Dataset with marker line at 1 million deaths.

Comments

Sign in to join the discussion.

MIT Licensed