Matploltib has existed for more than a decade. In the recent past many Python visualisation libraries have been released. However, often the focus is on "how" to plot, rather than "what" to plot. In this talk, I'll introduce Altair, a declarative library that focuses on the "what" to plot. This talk will an example-driven talk.
Perquisites: Some familiarity with Pandas and Matplotlib.
Matplotlib has existed for more than a decade. Various other Python visualisation libraries have been released in the recent past. However, with most of these libraries.have a heavy focus on "how" to plot. In contrast, Altair is a declarative visualisation library that focuses on "what" we need to plot.
I'll explain how Altair leverages Vega-lite specification, which is a subset of Vega specification, which is based on D3.
I'll pick up from the examples presented earlier and introduce the key concepts and the API of Altair. This will include:
With the help of examples, I'll show how easy it is to add layers to charts.
In this part of the talk, I'll present my views as a researcher on the suitability of Altair for production-ready plotting for web graphics/LaTeX figures.
With permission, I'd be borrowing some ideas and suggestions from Jake Vanderplas, and Brian Granger who are the authors of Altair.