mrblueblue / vega-editor

Web-based Vega and Vega-Lite authoring environment.

Home Page:http://vega.github.io/vega-editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vega Editor

The Vega editor is a web application for authoring and testing Vega visualizations. It includes a number of example specifications that showcase both the visual encodings and interaction techniques supported by Vega.

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 install
  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

Creating a release

About

Web-based Vega and Vega-Lite authoring environment.

http://vega.github.io/vega-editor

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 92.0%Language:CSS 5.2%Language:Shell 2.4%Language:HTML 0.3%