How to Animate Graphs in Tableau
Make an Amazing Animated Chart with Tableau
Animation in Tableau is majorly used for analyzing the seasonal trends or simply placing measures over a period of time. Using time series such as months, days, and minutes will give you the ability to set each interval as an individual page. As in all animations, a succession of pages, frames or screens will produce an animation. Therefore simply placing the time measure in the Page Shelf section of your marks card will produce animation. See the image below to see where to the Page Shelf is located.
I am going to create a visualization (using Sample-Superstore data) to analyze how the product sub-categories are getting profited across Sales over time.
The following is the steps to create an Animation Analysis in Tableau:
1. Connect to Sample-Superstore dataset: Open the Tableau Desktop and select the “Sample-Superstore” dataset
2. Go to Sheet1:
3. Put “Sales” field in the Columns shelf:
4. Put “Profit” field in the Rows shelf:
5. Put “Sub-Category” field on Details and Color shelf to create Scatter plot:
6. Put the “Profit Ratio” field in the Size shelf:
7. Select the filled circles from the Shape shelf:
8. Select “Order Date” field and put it on Pages shelf:
9. Change the sizes of the bubbles:
10. We have successfully created the visualization. To play the animation click on the “Play” button on “Year(Order Date)” filter (highlighted in below image):
User can also adjust the Page Shelf settings such as speed, whether to show history as per your preferences and see the animation.
11. Adjusting the Pages shelf settings:
□ Speed: There are 3 options to select the speed of animation i.e. “Slow”, “Normal” and “Fast”
□ Show History: Select the “Show History” option, to see the how the each bubble’s value is changing over the period of time: