{"id":2147,"date":"2016-02-16T16:58:58","date_gmt":"2016-02-16T21:58:58","guid":{"rendered":"http:\/\/commons.trincoll.edu\/dataviz\/?p=2147"},"modified":"2016-02-16T18:49:57","modified_gmt":"2016-02-16T23:49:57","slug":"tableau-public-embed","status":"publish","type":"post","link":"https:\/\/commons.trincoll.edu\/dataviz\/2016\/02\/16\/tableau-public-embed\/","title":{"rendered":"Embed Tableau Public as an iframe in WordPress.org"},"content":{"rendered":"<p>To embed a Tableau Public data visualization as an iframe in WordPress, like this:<\/p>\n\n<!-- iframe plugin v.4.5 wordpress.org\/plugins\/iframe\/ -->\n<iframe src=\"https:\/\/public.tableau.com\/views\/DataVizBook-simple-scatterchart\/Sheet1?:showVizHome=no&#038;:embed=true\" width=\"100%\" height=\"500\" scrolling=\"yes\" class=\"iframe-class\" frameborder=\"0\"><\/iframe>\n\n<p>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:<br \/>\n<code>https:\/\/public.tableau.com\/views\/DataVizBook-simple-scatterchart\/Sheet1?:embed=y&amp;:display_count=yes&amp;:showTabs=y<\/code><\/p>\n<p>2) Remove all of the code after the question mark, to look like this:<br \/>\n<code>https:\/\/public.tableau.com\/views\/DataVizBook-simple-scatterchart\/Sheet1?<\/code><\/p>\n<p>3) Add this at the very end of the code:<br \/>\n<code>:showVizHome=no&amp;:embed=true<\/code><\/p>\n<p>4) The new source link for the sample above is:<br \/>\n<code>https:\/\/public.tableau.com\/views\/DataVizBook-simple-scatterchart\/Sheet1?:showVizHome=no&amp;:embed=true<\/code><\/p>\n<p>5) Place the new source link inside the iframe plugin shortcode for WordPress, like this:<br \/>\n<code>[iframe src=\"https:\/\/public.tableau.com\/views\/DataVizBook-simple-scatterchart\/Sheet1?:showVizHome=no&amp;:embed=true\"]<\/code><\/p>\n<p>more text<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&amp;:display_count=yes&amp;:showTabs=y 2) Remove all of the code after the question &hellip; <a href=\"https:\/\/commons.trincoll.edu\/dataviz\/2016\/02\/16\/tableau-public-embed\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Embed Tableau Public as an iframe in WordPress.org<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,32,1],"tags":[],"_links":{"self":[{"href":"https:\/\/commons.trincoll.edu\/dataviz\/wp-json\/wp\/v2\/posts\/2147"}],"collection":[{"href":"https:\/\/commons.trincoll.edu\/dataviz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/commons.trincoll.edu\/dataviz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/commons.trincoll.edu\/dataviz\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/commons.trincoll.edu\/dataviz\/wp-json\/wp\/v2\/comments?post=2147"}],"version-history":[{"count":6,"href":"https:\/\/commons.trincoll.edu\/dataviz\/wp-json\/wp\/v2\/posts\/2147\/revisions"}],"predecessor-version":[{"id":2153,"href":"https:\/\/commons.trincoll.edu\/dataviz\/wp-json\/wp\/v2\/posts\/2147\/revisions\/2153"}],"wp:attachment":[{"href":"https:\/\/commons.trincoll.edu\/dataviz\/wp-json\/wp\/v2\/media?parent=2147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/commons.trincoll.edu\/dataviz\/wp-json\/wp\/v2\/categories?post=2147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/commons.trincoll.edu\/dataviz\/wp-json\/wp\/v2\/tags?post=2147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}