If you have opened this link from your mobile you may not be able to view this page as it is intended. So please visit through your laptop.
If you see in the source code of this content,there is a piece of code below within the div tag that allows you to place your Visualization anywhere you want in the body . So This is the Content that we have written before calling the Tableau Viz . Also the below Tag can be used to resize .
This is the content that we have after the Viz . So this shows that we can place our Visualization where we want to using .
So to summarize , In this web Page we are calling the Tableau Visualization through Java Script API.
There are two things that you need to Note here . Also do not forget to load the java script function while loading the body . See the start of the body tag that has onload= initViz() that calls
the init Viz function to execute the code when the page runs.
1. You need to get the Java Script API File from the Tableau Server / Tableau Online / Tableau Public . This varies based on your Tableau Server version. so the First Script Tag has the location and calls the Tableau Java Script API from the Server.
2. The second Script has the details about the Tableau Workbook that you want to display on your webpage. The earlier example on this website shows you how to display the Tableau Workbook from serverby Embedding it .
This example is different from it in the context that we are not embedding it , rather we are calling it through Java Script API . The moment we call it through Java Script API, we get "n" number of features that we can use which means now we can create "Buttons" on web page and when we click the button on the web page , it would interact with the Tableau Workbook / Dashboard and do the necessary action like Filtering or moving to next Viz or Displaying Marks and so .
This presents a wonderful opportunity wherein we can have dynamic content on our web page and the Tableau Dashboard can be working based on the Dynamic content that gets updated on a daily basis for e.g. Say our website page is designed to Dispaly the Top 5 best performing IPO's and the Tableau Viz that has all the details about the like its growth rate or how it has been trending ,can then be dynamically called and located on the web page.
Reach out to us if you are looking for Corporate Training to Build The Next Generation Analytical Workforce with an in-depth understanding of Exploratory Data Analysis , Data Visualisation, Data Analytics , AI First , Machine Learning & Deep Learning Training & Consulting helping them to take Data Informed Decision at each stage of the business.
We understand that At the present times , the Entire Industry is in a Tranformation stage with the Softwares being rebuilt with Artificial Intelligence Capabilities .
We need SMART WORKFORCE for the SMART SOFTWARES to reap the maximum return .
Whatsapp at +91-9953805788 or email at - firstname.lastname@example.org if you would like to know more .