Photo by Emile Perron on Unsplash

Member-only story

Embed your interactive visualizations in Medium posts using datapane

And how to programmatically create reports for stakeholders

Eryk Lewinson
Published in
6 min readJun 5, 2021

--

Remember when you created that awesome interactive plot and it was really hard to embed it into your Medium post? Or you would like to enable the readers to have a look at the DataFrame, but maybe not necessarily just pasting in a screenshot of df.head()? Such struggles are not limited to writing articles. You can also encounter them while preparing any kinds of reports which could use a nice viz to shows off the results of your analysis, but at the same time do not require lots of time and effort for preparation. I have recently come across a Python library that can help you with such issues.

About datapane

datapane is a Python API/library that is especially handy for people who would like to share the results of their analyses. And this is not restricted to embedding the visualizations in Medium articles (or other websites), as you can also easily generate HTML reports and more. Remember the situation in which you prepared some kind of an analysis (often ad-hoc), sent the HTML version of the Notebook to the stakeholders (with the code hidden, so they are not overwhelmed) and then they came back to you to add one more thing to it or change the filter and reshare the…

--

--

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Eryk Lewinson
Eryk Lewinson

Written by Eryk Lewinson

Data Scientist, quantitative finance, gamer. My latest book - Python for Finance Cookbook 2nd ed: https://t.ly/WHHP

No responses yet