Vega Datasets
Explore the data behind 352 examples from the Vega, Vega-Lite and Altair galleries.
75 datasets · Documented fields, sources and licenses
Release 3.2.1 · Data Package v2 · BSD-3-Clause code
Datasets
Most used firstGallery examples across all three libraries
Car specifications and fuel economy
Movie box office, budgets and ratings
Monthly stock prices for five companies
Minnesota barley yields by variety and trial site
Seattle daily weather from 2012–2015
U.S. land, state and county boundaries at 1:10 million scale
Palmer Archipelago penguin measurements
U.S. population by age, sex and census year
World land and country boundaries at 1:110 million scale
Playfair's wheat prices and wages from 1565–1820
U.S. unemployment by industry over time
Airport locations and identifiers
Simulated points from a bivariate normal distribution
Flare package and class hierarchy
Iowa annual electricity generation by source
USGS seismic events from January–February 2018
U.S. flight counts by airport route
Les Misérables character coappearance network
U.S. county unemployment rates
Deaths from natural disasters by type and year
U.S. driving distances and gasoline prices
U.S. flight delays and routes (2,000 flights)
Gapminder population, life expectancy and fertility
English and British rulers for Wheat and Wages
Seattle hourly climate normals for 1981–2010
S&P 500 monthly closing values
Simulated wind vectors over northwestern Europe
Anscombe’s quartet: similar statistics, different patterns
Monthly atmospheric CO2 at Mauna Loa
Country life expectancy and fertility over time
U.S. flight delays and routes (5,000 flights)
Gapminder income, life expectancy and population
Simulated hourly GitHub commit counts
U.S. household income distributions by state and territory
U.S. occupation counts by sex and census year
London borough boundaries including the City of London
London borough centroids including the City of London
London Underground and DLR line segments
VIX daily open, high, low and close values
U.S. population, engineering employment and hurricane landfalls
Year-round habitat coverage for four species by U.S. county
U.S. monthly employment totals by sector
U.S. state capitals and capitol building locations
Seattle and New York daily weather from 2012–2015
Example temperatures with normals, records and forecasts
ZIP code locations and place names
Global annual precipitation grid
U.S. federal budget balances and forecasts
Firefox application icon
Flare class dependency network
U.S. flight delays (200,000 flights, JSON)
U.S. flight delays and routes (20,000 flights)
GIMP application icon
Global land and ocean temperature anomalies
7-Zip application icon
Synthetic group memberships for lookup examples
Synthetic people with ages and heights
U.S. state obesity rates
Platformer terrain pixels from Celeste assets
S&P 500 daily index values and volume
Restaurant and cafe latitudes in Seattle's University District
Simulated points from a bivariate uniform distribution
Mount Eden volcano elevation grid
Daily bird migration population centers
FAA aircraft wildlife strike reports
U.S. federal receipts and estimates by account
Burtin's antibiotic susceptibility measurements
British Army deaths by cause in the Crimean War
U.S. flight delays and routes (10,000 flights)
U.S. flight delays (200,000 flights, Arrow)
U.S. flight delays and routes (3 million flights)
European football match results from five leagues
Vega, Vega-Lite and Altair gallery example index
Los Angeles Times death records for the 1992 unrest
U.S. candidate campaign finance summaries
No dataset matches.
Use the Data
Quickstart with cars
Copy a data URL or a snippet for your tool to get started with the cars dataset.
Explore the cars datasethttps://cdn.jsdelivr.net/npm/vega-datasets@3/data/cars.json"data": {"url": "https://cdn.jsdelivr.net/npm/vega-datasets@3/data/cars.json"}"data": [{
"name": "cars",
"url": "https://cdn.jsdelivr.net/npm/vega-datasets@3/data/cars.json"
}]from altair.datasets import data
cars = data.cars()import data from 'vega-datasets';
const cars = await data['cars.json'](); The @3 URL tracks 3.x releases, so it gets fixes without breaking changes. To lock a version, use @3.2.1. Versioning
About the Collection
LicensingEach dataset keeps its source's license
MetadataData Package v2: schema, sources, licenses
Each dataset comes with:
- Detailed Metadata: Source, structure, and licensing information, following Data Package Standard v2 for enhanced interoperability.
- Generation Scripts: Automation tools that facilitate data processing and updates, ensuring consistency and reproducibility.
Further information is available in datapackage.md (human-readable) and datapackage.json (machine-readable).
VersioningSemantic versioning, applied to data
Vega Datasets follows semantic versioning with additional data-specific guidelines:
- Patch Releases: Minor formatting or documentation updates without changes to the data.
- Minor Releases: Data content updates that maintain existing file and field names, including new datasets.
- Major Releases: Potential changes to file names or removal of datasets that may break backward compatibility.
Intended UseTeaching and demos. Some flaws are deliberate.
- The datasets are designed for instructional and demonstration purposes.
- Some datasets include intentional inconsistencies to offer opportunities for data cleaning exercises.
Gallery IndexAll 471 examples, mapped to their data. It's a dataset too.
Visualizations built with these datasets are showcased in several galleries:
The gallery-examples.json file is a generated index of examples from the Vega, Vega-Lite, and Altair galleries. Each record identifies any vega-datasets resources the example uses; examples that use none remain in the index with an empty datasets array. The file is refreshed for vega-datasets releases.