Skip to main content
100%

Fork of Fork of Vega-Lite API Template

✓ Published0🌍 Public
GGerasimos Katsagannis
Last edited May 20, 2022
Created on May 20, 2022

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 description

A 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.

MIT Licensed

Similar vizzes