vizzu¶

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.

ipyvizzu¶

ipyvizzu is a jupyter notebook integration for the vizzu project. ipyvizzu works only in the jupyter notebook environment.

In [1]:
from ipyvizzu import Chart, Data, Config

data = Data()
data.add_serie("Foo", ['Alice', 'Bob', 'Ted'])
data.add_serie("Bar", [15, 32, 12])
data.add_serie("Baz", [5, 2, 2])

chart = Chart()
chart.animate(data)

chart.animate(x="Foo", y="Bar", color="Foo")
chart.animate(geometry="circle")
chart.animate(x="Foo", y="Baz", color="Foo")
chart.animate(geometry="rectangle")

chart.show()

Note: Chart.show(...) only generates a javascript code. The vizzu calls are evaulated by the browser. Therefore if the vizzu figure is blank you should check the console of your browser where the javascript reports its errors.

The examples bellow are copied from the vizzu tutorial. You can read more information from there.

  • Data
  • Axes, title, tooltip
  • Geometry
  • Channels & legend
  • Group/stack
  • Sorting
  • Align & range
  • Aggregate/drill-down
  • Orientation, split & polar
  • Without coordinates
  • Color palette & fonts
  • Chart layout