uwdata/vega-editor

Name: vega-editor

Owner: UW Interactive Data Lab

Description: Web-based Vega authoring environment.

Forked from: vega/vega-editor

Created: 2015-09-03 21:31:26.0

Updated: 2017-07-15 01:52:10.0

Pushed: 2015-09-03 16:09:14.0

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

Size: 2420

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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 npm installed.

  1. Run npm run vendor to install 3rd party vendor libraries. This command will first run npm install to download the dependencies, and then copy the needed files into the vendor folder.

  2. Launch a local web server to run the editor. For example, if you have Python installed on your system, run python -m SimpleHTTPServer 8000 in the top-level directory of this project and then point your browser to http://localhost:8000/.

Local Testing & Debugging

The editor is useful for testing if you are involved in Vega development. The editor includes a watch script (launched via npm run watch) that will automatically copy new Vega builds into the vendor folder. By default, the watch script assumes that your local Vega repository resides at ../vega relative to the vega-editor directory. Alternatively, you can indicate the desired Vega project directory as a command line argument (npm run watch VEGA_DIR).


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.