A publish-subscribe mechanism for signals: this allows Vega views that live in different HTML elements to communicate with each other and to update each other's datasets.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
dist
docs
examples
src
.babelrc
.eslintrc
.gitattributes
.gitignore
.npmignore
LICENSE
README.md
editorconfig
gulpfile.babel.js
package.json
toc.sh
websocket.yaml
yarn.lock

README.md

Vega multi view

This library is a wrapper of the Vega runtime API that sets up a publish-subscribe mechanism for signals: this allows separate Vega views (views that live in different HTML elements) to communicate with each other.

It is also possible to update each other's datasets. The wrapper accepts specs in json, cson, bson and notably the much leaner yaml format. For documentation see the wiki on Github.

You can clone the Github repository or embed the library using Rawgit urls:

for development:

https://rawgit.com/abudaan/vega-multi-view/v1.1.10/build/vmv.css
https://rawgit.com/abudaan/vega-multi-view/v1.1.10/build/vmv.js
https://rawgit.com/abudaan/vega-multi-view/v1.1.10/build/vmv.min.js

for production:

https://cdn.rawgit.com/abudaan/vega-multi-view/v1.1.10/build/vmv.css
https://cdn.rawgit.com/abudaan/vega-multi-view/v1.1.10/build/vmv.js
https://cdn.rawgit.com/abudaan/vega-multi-view/v1.1.10/build/vmv.min.js

Acknowledgements

Special thanks to Ronald Vendelmans and Richard Bastiaans: Ronald for the original idea of connecting Vega signals using publish-subscribe and both Richard and Ronald for their highly constructive thinking along.