This tutorial describes how to embed a Tableau view, i.e. a published sheet or dashboard etc., into your web page and set the view to refresh every 30 seconds.
Step 1. Open note pad and save the code below into it calling the file template.html
Step 2. Copy the URL
- Publish the Tableau view and copy the URL from the share button
- Copy the URL if you have already published the report
Note: If a hash symbol (#) and number, or a “:iid=<n>” appear at the end of the URL, do not include those characters. For example, in the following URL, you would not copy the #3 characters:
Step 3. Replace the following in the template file with your URL and change the title to something more appropriate than Auto Refresh Example.
Note: You can change the rate of refresh by changing the content=”30″ value to however many seconds you need. Also you probably don’t want purple as your background color unless you’re Prince so go ahead and change that too. background-color: #452775