logo

... altair.


There are many visualisation libraries in python out there and altair offers some original features. It offers a wide variety of charts, a grammar-like api, loads of interactivity features and the option of exporting directly to the browser.


Notes

The bar chart at the end of this video is created via;

(alt.Chart(plot_df)
  .mark_bar(color='lightblue')
  .encode(x='date:T', y='births:Q', color='month:N', tooltip=['date', 'births'])
  .properties(height=200))

Feedback? See an issue? Something unclear? Feel free to mention it here.

If you want to be kept up to date, consider getting the newsletter.