Example applications driven by Vega dataflows.
The Vega language uses a JSON syntax for describing interactive visualizations. These JSON specifications are then compiled to a reactive dataflow runtime. As of Vega version 3.0, the dataflow runtime is a stand-alone library, allowing developers to build dataflows directly, or author new high-level languages that use the same runtime.
This repository contains examples of how to build reactive data visualizations directly using vega-dataflow and related modules. The examples here demonstrate use of the JavaScript API for creating and connecting dataflow operators.
See vega-runtime for a JSON syntax for serializing dataflow graph descriptions.
- Install dependencies via
npm install
. - Build the Vega dataflow code via
npm run build
. - Launch a local web server in the top-level directory (e.g.,
python -m SimpleHTTPServer 8000
). - Load the examples in your browser (e.g., at
https://localhost:8000/examples/
).