Code Monkey home page Code Monkey logo

vega-datasets's Introduction

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.

The list of sources is in sources.md.

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 [email protected]:vega/vega-datasets.git gh-pages

Update to the latest version of vega-data with

git subtree pull --prefix path-to-data [email protected]:vega/vega-datasets.git gh-pages

Changelog

Version 1.10

  • Add weather data for Seattle and New York.

Version 1.9

  • Add income, zipcodes, lookup data, and a dataset with three independent geo variables.

Version 1.8

  • Remove all tabs in github.csv to prevent incorrect field name parsing.

Version 1.7

  • Dates in movies.json are all recognized as date types by datalib.
  • Dates in crimea.json are now in ISO format (YYYY-MM-DD).

Version 1.6

  • Fix cars.json date format.

Version 1.5

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

vega-datasets's People

Contributors

arvind avatar domoritz avatar kanitw avatar light-and-salt avatar mcorrell avatar rileychang avatar willium avatar yhoonkim avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.