vega/vega-dataflow-examples

Name: vega-dataflow-examples

Owner: Vega

Description: Example applications driven by Vega dataflows.

Created: 2016-08-10 20:42:20.0

Updated: 2017-09-03 15:17:49.0

Pushed: 2016-10-03 22:00:19.0

Homepage: null

Size: 72

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

vega-dataflow-examples

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.

Instructions
  1. Install dependencies via npm install.
  2. Build the Vega dataflow code via npm run build.
  3. Launch a local web server in the top-level directory (e.g., python -m SimpleHTTPServer 8000).
  4. Load the examples in your browser (e.g., at http://localhost:8000/examples/).

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.