Skip to content

amolpratap-singh/editor

 
 

Repository files navigation

Vega Editor Build Status

The Vega editor is a web application for authoring and testing Vega and Vega-Lite visualizations. It includes a number of example specifications that showcase both the visual encodings and interaction techniques. It is deployed at https://vega.github.io/editor/.

Usage Instructions

To run the editor locally, you must first install the dependencies and then launch a local web server. We assume you have yarn installed.

  1. Install the dependencies:
$ yarn
  1. Start the server:
$ yarn start

Local Testing & Debugging

The editor is useful for testing if you are involved in Vega and Vega-Lite development. To use Vega, Vega-Lite, Vega Datasets, or Vega-Embed from another directory on your computer, link it into vendor. For this, run yarn link in the directory of the library that you want to link. Then, in this directory run yarn link <name of library>, e.g. yarn link vega.

For example, to link Vega, run

cd VEGA_DIR
yarn link

cd VEGA_EDITOR_DIR
yarn link vega

The Vega editor supports React Developer Tools and Redux DevTools.

Creating a release on gh-pages

  • Tag a new version with yarn version. Pre 1.x, update the minor version if there is a new feature.
  • Push the tag. Travis will automatically deploy the editor.

About

Editor/IDE for Vega and Vega-Lite

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 79.9%
  • CSS 16.7%
  • JavaScript 1.8%
  • Shell 1.3%
  • HTML 0.3%