Skip to main content
100%

Scatter Plot COVID-19 Vaccination and Cases with Dual Axis

✓ Published0🌍 Public
Xxiaojingwu138
Last edited Jul 24, 2023
Created on Jul 22, 2023
Forked from D3 Starter

This scatter plot shows the relationship between COVID-19 vaccination rates in blue and reported case counts in gray for the US population, with a dual y-axis for the two metrics. An interactive menu lets viewers toggle between partially and fully vaccinated proportions. The visualization uses D3 v6 with the `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `axisRight` APIs, and animates circle positioning via `transition` and `selection.join`. Data comes from the CDC and NYT rolling averages, with vaccination values normalized by US population size.

AI-generated description

A demonstration of how to start using D3 version 6.

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*

MIT Licensed

Similar vizzes