test
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 descriptionA 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.