🌍 Public
Viewing a saved revision (read-only)
709b1f8f3c194528b1bd3b360b4faff0
Fork of Fork of Vega-Lite API Template
This example displays a scatter plot of COVID-19 vaccination data, mapping daily vaccinations on the x-axis and total vaccinations on the y-axis. It uses the Vega-Lite API to construct the visualization declaratively, with d3.csv fetching the dataset from a GitHub-hosted CSV file. The code customizes the chart’s appearance through a Vega-Lite config object, adjusting axis styles and label fonts for readability. The visualization renders as an SVG via vega-tooltip for interactive hover details.
AI-generated descriptionA visualization constructed using the vega-lite-api.
The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.