veg
vegalive
npm i vegalive
veg

vegalive

live preview of Vega visualizations

by Adrian Sampson

0.0.1 (see all)TypeScript:Not Found
npm i vegalive
Readme

Vegalive

Live preview of Vega visualizations.

What? Why?

Vega is a declarative language for making data visualizations. It's bona fide awesome. Check it out.

This is a tiny tool for quickly viewing Vega visualizations, complete with live updates. You can live-code your visualization in your favorite editor. Or you can automatically see updates as new points are added to a data file---so you can watch an experiment progress in real time.

How?

Vegalive is written for Node.js, so it's installed with npm. Just type:

$ npm install -g vegalive

Then, go to a directory that has one of your Vega specs (i.e., .json files) and type:

$ vegalive

As the output suggests, you'll then want to point your browser at http://localhost:4915. There you'll see a list of JSON documents in the current directory. Click on your plot's filename to see it rendered in glorious HTML5.

Then the magic happens:

  • Edit the spec in your favorite editor. Whenever you save, the plot refreshes in your browser.

  • Edit the data files that your visualization uses (or have another tool update them). The plot refreshes automatically.

There's also a screencast.

Who?

Vegalive is by Adrian Sampson. It is made available under the BSD three-clause license, the same license as Vega itself. Vega is by Trifacta, which is unaffiliated.

Downloads/wk

3

GitHub Stars

18

LAST COMMIT

9yrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
0.0.1
latest
9yrs ago
No alternatives found
No tutorials found
Add a tutorial