D3 Scatter Plot - Aggregating eu_vaccinations.csv
This scatter plot visualizes aggregated COVID-19 vaccination data from the eu_vaccinations.csv file, showing weekly FirstDose counts by vaccine type across European cities. The data is processed using d3.flatRollup and d3.sum to aggregate values by YearWeekISO and Vaccine, with each vaccine type assigned a distinct color via a switch statement. The visualization uses d3.scaleLinear for both axes, d3.axisBottom and d3.axisLeft for labeling, and renders individual circles as SVG elements sized with a fixed radius of 2 pixels. The source dataset includes city names with latitude, longitude, and population information, though the plotted values focus on the vaccination aggregates.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot.
Forked and authored by Daniel Ribaudo.
The data comes from this Gist: EU Vaccinations
Within this dataset, city names are provided alongside their latitude, longitude, and population.
Within this fork, I tested aggregating data using d3 functionality. I aggregated FirstDose by YearWeekISO, Vaccine. This was done to prepare myself for the prototype assignment.