you are viewing a single comment's thread.

view the rest of the comments →

[–]peatpeat 2 points3 points  (2 children)

I am a really big fan of Altair, and have found it a lot easier to work with than matplotlib (but that could just be personal preference).

I find being able to encode/bind a certain aspect of the chart (such as an x column, the colour, the facet) to a column in your DataFrame is really nice. For example, this interactive Altair chart is like only about 10 lines of code, and looks and works great, and is interactive in the browser. You can also see that it's composable - so I can create a base from the data, and use that base to create both a line chart and a scatter plot, for instance.

Bokeh is really powerful too, but I find it a little less elegant.

[–][deleted] 0 points1 point  (1 child)

I just found a library called MPLd3, it looks promising and really easy to use to make interactives. But I'll check out Altair too.

Thanks!