... 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.


You can call .to_json and .to_html on any chart that you've defined to get the json or html out.

p1 = (alt.Chart(plot_df)
  .encode(x='date', y='births', color=alt.Color('wday', sort=days))
  .properties(width=125, height=125)


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.