Git Product home page Git Product logo

vegalive's Introduction

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.

vegalive's People

Contributors

sampsyo avatar

Watchers

Tawanda Kanhema avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.