A visualization grammar.
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
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:
to 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.
to run test cases, or run
to build output files for all packages.
to launch a local web server — your default browser will open and you can browse to the
folder to view test specifications.
This repository includes the Vega website and documentation in the
folder. To launch the website locally, first run
folder to install the necessary Jekyll libraries. Afterwards, use
to build the documentation and launch a local webserver. After launching, you can open [
](http://127.0.0.1:4000/vega/) to see the website.
For backwards compatibility, Vega includes a babel-ified ES5-compatible version of the code in
directory. Older browser would also require several polyfill libraries:
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.4.4/polyfill.min.js"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/runtime.min.js"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/fetch.umd.min.js"></script>