Vizzu

Library for animated data visualizations and data stories.

README

Vizzu

Vizzu - Library for animated data visualizations and data stories.

Tutorial & Examples · Reference · Repository

npm version install size Tweet

About The Project

Vizzu is a free, open-source Javascript/C++ library utilizing a generic dataviz engine  
that generates many types of charts and seamlessly animates between them.  
It can be used to create static charts but more importantly, it is designed for building animated data stories  
and interactive explorers as Vizzu enables showing different perspectives of the data that the viewers can  
easily follow due to the animation.
Main features:
- Designed with animation in focus;  
- Defaults based on data visualization guidelines;
- Automatic data aggregation & data filtering;
- HTML5 canvas rendering;
- Written in C++ compiled to WebAssembly;
- Dependency-free.

Installation

Install via npm:
    npm install vizzu
Or use it from CDN:
  1. ``` html
  2. <script type="module">
  3. import Vizzu from 'https://cdn.jsdelivr.net/npm/vizzu@latest/dist/vizzu.min.js';
  4. </script>
  5. ```

Usage

Create a placeholder element that will contain the rendered chart:
  1. ``` html
  2. <div id="myVizzu" style="width:800px; height:480px;"></div>
  3. ```
Create a simple bar chart:
  1. ``` js
  2. import Vizzu from 'https://cdn.jsdelivr.net/npm/vizzu@latest/dist/vizzu.min.js';
  3. let data = {
  4.   series: [
  5.     { name: 'Foo', values: ['Alice', 'Bob', 'Ted'] },
  6.     { name: 'Bar', values: [15, 32, 12] },
  7.     { name: 'Baz', values: [5, 3, 2] }
  8.   ]
  9. };
  10. let chart = new Vizzu('myVizzu', { data });
  11. ```
  1. ``` js
  2. chart.animate({
  3.   x: 'Foo',
  4.   y: 'Bar'
  5. });
  6. ```
Then turn it into a scatter plot:
  1. ``` js
  2. chart.animate({
  3.   color: 'Foo',
  4.   x: 'Baz',  
  5.   geometry: 'circle'  
  6. });
  7. ```
Example chart

FAQ

You can find answers to the most frequently asked questions about using the library in our FAQ.

Projects

List of external projects (extensions, bindings, templates, etc) for Vizzu: Projects.

Roadmap

We have a comprehensive list of features we plan to implement, on our Roadmap.

Contributing

We welcome contributions to the project, visit our wiki page for further info.

Contact

Drop us a line at hello@vizzuhq.com
Follow us on Twitter: https://twitter.com/VizzuHQ

License

Copyright © 2022 Vizzu Kft..
Released under the Apache 2.0 License.