Tableau Public Integration with Jupyter Notebook
A way to embed Tableau visualizations to Jupyter Notebook
If you have an account with Tableau Public and have a few vizzes uploaded there already, go ahead and:
- Log in to your profile at https://public.tableau.com/s/
- Click one of your vizzes
- Click the share button on the Tableau banner underneath the viz
4. Copy the Embed Code.
5. Go to an empty code cell in Jupyter Notebook and type: %%html. On a new line in the same cell, paste the Embed Code. It should look something like this:
%%html
<div class='tableauPlaceholder' id=...
Your viz should now be embedded in Jupyter Notebook!
If you’re planning to post on Github, sometimes the tableau visualizations won’t show up on there. A quick way to load them is to copy your notebook’s link on Github and paste the URL to Jupyter’s nbviewer.