Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vega-datasets

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vega-datasets

Common repository for example datasets used by Vega related projects.

  • 1.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1K
decreased by-70.56%
Maintainers
1
Weekly downloads
 
Created
Source

vega-datasets

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.

How to use it

NPM

Add this to your package.json:

"vega-datasets": "vega/vega-datasets#gh-pages"

HTTP

You can also get the data directly via HTTP served by Github like:

https://vega.github.io/vega-datasets/data/cars.json

Git subtree

You can use git subtree to add these datasets to a project. Add data git subtree add like:

git subtree add --prefix path-to-data git@github.com:vega/vega-datasets.git gh-pages

Update to the latest version of vega-data with

git subtree pull --prefix path-to-data git@github.com:vega/vega-datasets.git gh-pages

Changelog

Version 1.5

  • Add Gapminder Health v.s. Income dataset
  • Add generated Github contributions data for punch card visualization

Version 1.4

  • Add Anscombe's Quartet dataset

Version 1.3

  • Change date format in weather data so that it can be parsed in all browsers. Apparently YYYY/MM/DD is fine. Can also omit hours now.

Version 1.2

  • Decode origins in cars dataset
  • Add Unemployment Across Industries in US

Version 1.1.1

  • Fixed the date parsing on the CrossFilter datasets -- an older version of the data was copied over on initial import. A script is now available via npm run flights N to re-sample N records from the original flights-3m.csv dataset.

Version 1.1

Version 1.0, October 8, 2015

  • Initial import from vega and vega-lite
  • Change field names in cars.json to be more descriptive (hp to Horsepower)

FAQs

Package last updated on 18 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc