Skip to main content
Public

Share visualization

Loading preview…

Fork of Scatter Plot COVID-19 Vaccination and Cases with Dual Axis

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 Scatter Plot COVID-19 Vaccination and Cases with Dual Axis

1
Yyanikk@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024

A dual-axis scatter plot visualizes the relationship between COVID-19 vaccination rates and reported cases in the US, using steel-blue circles for vaccination proportions and gray circles for 7-day case averages. An interactive menu allows switching between partial and fully vaccinated data. Built with D3 v6, the visualization uses `scaleTime`, `scaleLinear`, `axisLeft`, `axisRight`, and `selection.join` to render SVG circles with animated transitions. Data comes from Our World in Data and the New York Times, with a chart title and annotations highlighting the reduction in cases.

AI-generated description

COVID-19 vaccination rates in blue versus reported cases in gray.

Data are from CDC COVID-19 US population vaccination counts as proportions of the US population size and the NYT COVID-19 infection 7-day trailing average cases counts for the US population using a dual y-axis for the two public use data sets.

Credits: *reusable scatter plot inspired by

Towards Reusable Charts

Observable: selection.join

Curran Kelleher Reusable D3 Scatter Plot B&W*

Comments

Sign in to join the discussion.

MIT Licensed