Embed Tableau Public as an iframe in WordPress.org

Posted on

To embed a Tableau Public data visualization as an iframe in WordPress, like this:

1) In the Tableau Public server page, click the Share button and copy the source link (not the embed code). For this example, the source link for the sample above is:
https://public.tableau.com/views/DataVizBook-simple-scatterchart/Sheet1?:embed=y&:display_count=yes&:showTabs=y

2) Remove all of the code after the question mark, to look like this:
https://public.tableau.com/views/DataVizBook-simple-scatterchart/Sheet1?

3) Add this at the very end of the code:
:showVizHome=no&:embed=true

4) The new source link for the sample above is:
https://public.tableau.com/views/DataVizBook-simple-scatterchart/Sheet1?:showVizHome=no&:embed=true

5) Place the new source link inside the iframe plugin shortcode for WordPress, like this:
[iframe src="https://public.tableau.com/views/DataVizBook-simple-scatterchart/Sheet1?:showVizHome=no&:embed=true"]

more text