Instead of imperatively specifying how to render the visualization as in matplotlib, with Altair (and vega/vega-lite) you specify what to visualize. As Jake VanderPlas explains when presenting Altair, this allows visualization concepts to map directly to visualization implementation. Intro to AltairĪltair is a visualization library for Python notable for taking a declarative approach based on a grammar of graphics using Vega and Vega-Lite. The examples below are largely derived from the excellent Altair gallery-I claim no original work on these but enjoyed working with them to learn the mechanics of interactive visualization in Altair. In this post I will show some examples of using the Altair library to create and share some simple interactive visualizations. Sharing interactive visualizations online extends the benefits to others. Sharing Interactive Altair Charts on the WebĪdding interactivity to data visualizations can be helpful for better exploring the data and fun.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |