Name: vega-datasets
Owner: Vega
Description: Common repository for example datasets used by Vega-related projects
Created: 2015-10-08 23:14:58.0
Updated: 2018-01-13 14:00:09.0
Pushed: 2018-01-03 19:23:14.0
Size: 5749
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Collection of datasets used in Vega and Vega-Lite examples. This data lives at https://github.com/vega/vega-datasets.
Common repository for example datasets used by vega related projects. Keep changes to this repository minimal as other projects (vega, vega-editor, vega-lite, polestar, voyager) use this data in their tests and for examples.
The list of sources is in sources.md.
To access these datasets from Python, you can use the Vega datasets python package.
Add this to your package.json:
a-datasets": "vega/vega-datasets#gh-pages"
You can also get the data directly via HTTP served by Github like:
https://vega.github.io/vega-datasets/data/cars.json
You can use git subtree to add these datasets to a project. Add data git subtree add
like:
subtree add --prefix path-to-data git@github.com:vega/vega-datasets.git gh-pages
Update to the latest version of vega-data with
subtree pull --prefix path-to-data git@github.com:vega/vega-datasets.git gh-pages
co2-concentration.csv
.earthquakes.json
.graticule.json
, London borough boundaries, borough centroids and tube (metro) rail lines.disasters.csv
with disaster type, year and deaths.github.csv
to prevent incorrect field name parsing.movies.json
are all recognized as date types by datalib.crimea.json
are now in ISO format (YYYY-MM-DD).cars.json
date format.npm run flights N
to re-sample N
records from the original flights-3m.csv
dataset.seattle-weather
dataset. Transformed with https://gist.github.com/domoritz/acb8c13d5dadeb19636c.cars.json
to be more descriptive (hp
to Horsepower
).