Re:Using Altair for most of my visualization in Python
by tomrod on Monday May 06, 2019 @06:20PM
(#19844515)
I'm looking for an interactive visualization tool that I could have site visitors access via a github blog page. Does Altair manage client-side processing? I'm still pretty new in the search but like Altair's adoption of Vega-lite.
[ Parent
| on HN ]
Re:Using Altair for most of my visualization in Python
by eoinmurray92 on Tuesday May 07, 2019 @07:49AM
(#19848541)
Here's a guide to using Github+Kyso [1] to publish your type of article to the web, it should be a very similar workflow to github pages, and you can use any of the popular python visualization libraries - we support plotly, bokeh, vega, altair, matplotlib etc.
https://towardsdatascience.com/publish-data-science-articles...
[1] Disclaimer: I'm the CEO of Kyso
Re:Using Altair for most of my visualization in Python
by domoritz on Monday May 06, 2019 @07:05PM
(#19844827)
Yes, you can save an Altair chart as an HTML page. See https://altair-viz.github.io/user_guide/saving_charts.html#h.... You can also just get the Vega-Lite JSON form Altair and embed it in a web page with Vega-Embed.
Re:Using Altair for most of my visualization in Python
by tomrod on Monday May 06, 2019 @08:13PM
(#19845226)
I'll dig in -- thanks! Looking for the interactivity -- surely that's not supportable in native HTML, right? Has to use JS or CSS? (I'm not a web-dev of any sort, only very superficial understanding, data scientist by day)
EDIT: Ohhhh, this looks nice!