When you publish a report to a Datapane instance, you can embed it into other platforms, such as in these docs,
Or on other platforms like Medium and Notion,
Datapane reports can be embedded into any websites that supports either HTML
iframes or the oEmbed protocol. Sites that support oEmbed allow you to just paste the link to the report, and will handle the embedding automatically. Sites that support iframes, including your own websites and pages, simply require you to copy and paste the embed code from your report page on Datapane. You can find examples of embedded reports throughout these docs.
We support the following third-party sites, and any others that are compatible with either oEmbed or HTML iframes.
Personal / Internal sites and pages
If you are already using Notion in your company, and you're comfortable analyzing data using Python, you might not need to buy a clunky BI tool. Instead, you can generate interactive, dynamic reports in Python and embed them straight into your Notion documents.
To embed the chart in Notion, just paste the link into any page. A menu will pop up asking you Create Embed. If you click this, Notion will embed your report inside your page.
You can embed a Datapane report into Confluence using an iframe, but instead of copying the code tag like you do when embedding in your own website, you need to use Confluence's built-in iframe support.
On your Confluence page, type
/iframe and the iframe popup will appear.
Similarly to when you are embedding in your own website, when you embed into Confluence, make sure you add
/embed to the end of your URL, as Confluence does not automatically add it as Notion, Medium, and Reddit do.
Confluence will then display your report or visualization in the page:
You can embed into your own website using an iframe. After publishing your report, and select Embed in the share menu on the report. This will provide a simple piece of HTML code that you can copy and paste into your webpage.
Datapane Enterprise also provides the ability for private reports, which can be securely embedded in your own tools to make use of Datapane reports across your applications.
To embed a report on Medium, publish it to Datapane, and copy and paste the full URL of your report into your Medium editor. Medium will automatically create the embed, and you will see the following. In edit mode, your embed will not be interactive - you must publish the post first to use interactive elements.
To embed a report into reddit, create a post with your report's main URL. If your report does not appear inline at first, click the Retry Thumb button to prompt Reddit to reload it.
In the post view, your report will be able to be used interactively.