Skip to content

uwdata/vega-editor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.9%
  • HTML 15.3%
  • CSS 13.3%
  • Shell 11.5%