Skip to main content
100%

test

✓ Published0🌍 Public
PPavan Nimmagadda
Last edited Apr 22, 2024
Created on Apr 22, 2024

This example visualizes COVID-19 vaccination rates in blue against reported cases in gray for the US population, using a dual y-axis to compare the two metrics over time. The scatter plot animates point positions and radii using D3’s selection.join and transition APIs, with an interactive menu to toggle between partial and fully vaccinated data. Data comes from Our World in Data and the NYT rolling averages, rendered as SVG circles with axis labels, annotations, and a chart title.

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