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.
For a basic setup allowing you to build Vega and run examples:
yarnto install dependencies for all packages. If you don't have yarn installed, see https://yarnpkg.com/en/docs/install. We use Yarn workspaces to manage multiple packages within this monorepo.
- Once installation is complete, run
yarn testto run test cases, or run
yarn buildto build output files for all packages.
- After running either
yarn build, run
yarn serveto launch a local web server — your default browser will open and you can browse to the
"test"folder to view test specifications.
This repository includes the Vega website and documentation in the
docs folder. To launch the website locally, run
bundle install and
bundle exec jekyll serve in the
docs folder. The last command launches a local webserver. After launching, you can open
http://127.0.0.1:4000/vega/ to see the website.