vega 0,2,0,0,2,4,3,0 travis-ci Bower npm

A visualization grammar.

Vega: A Visualization Grammar

Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. With Vega you can describe data visualizations in a JSON format, and generate interactive views using either HTML5 Canvas or SVG.

This repository houses ongoing Vega 3.0 development. While still a work in progress, Vega 3 has matured to a fully functional beta version with a cleaner, more efficient, and more modular architecture. Vega 3 can now reproduce all standard Vega 2 examples, and much more! Contributions, feature requests and bug reports are most appreciated.

For documentation, see the Vega website. For a partial description of changes from Vega 2.x, please refer to the Vega 3 Porting Guide. Additional API documentation for Vega 3 can be found in the associated modules listed below.

Not ready to live on the edge? Looking for the latest stable release? Please see Vega 2.6. The Vega wiki associated with this repo contains documentation for version 2.6.

Basic Setup

For a basic setup allowing you to build Vega and run examples, clone https://github.com/vega/vega and run npm install.

Once installation is complete, use npm run test to run tests and npm run build to build output files.

This repo (vega) includes web-based demos within the test folder. To run these, launch a local webserver in the top-level directory for the repo (e.g., python -m SimpleHTTPServer 8000 for Python 2, python -m http.server 8000 for Python 3) and then point your browser to the right place (e.g., http://localhost:8000/test/).

Development Setup

For a more advanced development setup in which you will be working on multiple modules simultaneously, first clone the Vega 3 module repositories:

Though not strictly required, we recommend using npm link to connect each local copy of a repo with its 'vega-' dependencies. That way, any edits you make in one repo will be immediately reflected within dependent repos, accelerating testing.

For example, to link vega-dataflow for use by other repos, do the following:

# register a link to vega-dataflow
cd vega-dataflow; npm link
# update vega-runtime to use the linked version of vega-dataflow
cd ../vega-runtime; npm link vega-dataflow
# update vega to use the linked version of vega-dataflow
cd ../vega; npm link vega-dataflow

Once links have been setup, you can use npm install as usual to gather all remaining dependencies.

Related Repositories

vega-lite

vega-lite

A high-level grammar for visual analysis, built on top of Vega. ...

vega-editor

vega-editor

Web-based Vega and Vega-Lite authoring environment. ...

linked-highlighting-react-vega-redux

linked-highlighting-react-vega-redux

Example of doing linked highlighting with React, Vega, and Redux ...

vega-embed

vega-embed

Publish Vega visualizations as embedded web components with interactive paramete ...

vega-expression

vega-expression

Vega expression parser and code generator. ...


Top Contributors

arvind jheer RussellSprouts emilygu domoritz mprudhom lgrammel nyurik Jerrythafast kristw kanitw malecki floribon okal meetamit joneshf jasondavies jmxpearson kevinmickey rluta fengb hadley jefffriesen jhoffswell maralla timelyportfolio

Dependencies

package version
vega-crossfilter 1
vega-dataflow 2
vega-datasets vega/vega-datasets#gh-pages
vega-encode 1
vega-expression 2
vega-force 1
vega-geo 1
vega-hierarchy 1
vega-loader 2
vega-parser 1
vega-runtime 1
vega-scale 2
vega-scenegraph 2
vega-statistics 1
vega-util ^1.2
vega-view 1
vega-voronoi 1
vega-wordcloud 1
yargs 4
dev eslint 4
rollup 0.43
rollup-plugin-json 2
rollup-plugin-node-resolve 3
tape 4
tv4 1
uglify-js 3

Releases

-   v2.6.3 zip tar
-   v2.6.2 zip tar
-   v2.6.1 zip tar
-   v2.6.0 zip tar
-   v2.5.2 zip tar
-   v2.5.1 zip tar
-   v2.5.0 zip tar
-   v2.4.2 zip tar
-   v2.4.1 zip tar
-   v2.4.0 zip tar
-   v2.3.1 zip tar
-   v2.3.0 zip tar
-   v2.2.6 zip tar
-   v2.2.5 zip tar
-   v2.2.4 zip tar
-   v2.2.3 zip tar
-   v2.2.2 zip tar
-   v2.2.1 zip tar
-   v2.2.0 zip tar
-   v2.1.2 zip tar
-   v2.1.1 zip tar
-   v2.1.0 zip tar
-   v2.0.6 zip tar
-   v2.0.5 zip tar
-   v2.0.4 zip tar
-   v2.0.3 zip tar
-   v2.0.1 zip tar
-   v2.0.0 zip tar
-   v1.5.4 zip tar
-   v1.5.1 zip tar