How to Create a Motion Chart in Tableau

Cody Schneider10 min read

A motion chart animates your data over time, turning a static scatter plot into a dynamic story that reveals trends, outliers, and patterns you might otherwise miss. It's a powerful way to see how relationships between different variables change. This guide will walk you through exactly how to build a meaningful motion chart in Tableau, from preparing your data to presenting the final, animated insight.

What is a Motion Chart and Why Use One?

Think of a regular scatter plot. It shows you the relationship between two variables at a single moment in time - for example, plotting sales versus profit for different product categories. It's a snapshot.

A motion chart turns that snapshot into a movie. By adding a time dimension (like months or years), the bubbles on the chart move around, grow, or shrink, showing you how those product categories performed over the entire period. You’re not just seeing the final result, you're watching the journey.

This is incredibly effective for storytelling because it helps your audience see the evolution of your data directly. Motion charts are great for:

  • Spotting Trends: Watch as certain data points move together or drift apart over time. You might see a new product quickly move into the "high profit, high sales" quadrant.
  • Identifying Key Events: Notice sudden shifts in data that might correspond to a marketing campaign launch, a new competitor entering the market, or a seasonal change.
  • Engaging Your Audience: Let's be honest, watching data move is far more engaging than staring at a static table. It grabs attention and makes your findings more memorable.

For example, you could track marketing campaigns, showing which ones generated more leads (X-axis) for a lower cost-per-lead (Y-axis) month by month. Instead of just seeing the final numbers, you can watch which campaigns started strong and faded, and which ones consistently delivered value over time.

Preparing Your Data for Animation

Before you jump into Tableau, it helps to understand what kind of data structure you need. Good data preparation makes the building process much smoother. For a great motion chart, your dataset should have three key components:

  1. A Dimension for Your “Bubbles”: This is the thing you want to track over time. It's the individual dot or bubble in your animation. Examples include product categories, sales representatives, countries, or marketing campaigns.
  2. Quantitative Measures: You need at least one, but usually two, numeric fields. These will determine the position of your bubbles on the X and Y axes. Common examples are Sales, Profit, Website Sessions, Conversion Rate, or Cost Per Acquisition. You could also use a third measure to control the size of the bubbles, like using Quantity Sold to make bubbles larger for products that moved more units.
  3. A Time Dimension: This is the engine of your animation. You need a date or time field that Tableau can sequence through, frame by frame. This can be a specific date, month, quarter, or year. Tidy time-series data is ideal for this.

A quick check of your data before you start will save you a lot of troubleshooting later. Make sure your date field is formatted as a date, your numeric fields are recognized as numbers, and your labels for dimensions are clean and consistent.

Step-by-Step Guide to Creating a Motion Chart in Tableau

Let’s build a motion chart from scratch. For this example, we’ll use Tableau’s “Sample - Superstore” dataset to analyze the performance of product sub-categories over time. Our goal is to see how Sales (X-axis) and Profit (Y-axis) have changed for each sub-category from month to month.

Step 1: Get Your Data into Tableau

First, open Tableau and connect to your data source. In this case, select "Sample - Superstore" from the Saved Data Sources on the start screen. If you're using your own data, connect to your Excel file, database, or other source.

Step 2: Create a Basic Scatter Plot

Before we can make our chart move, we need to create the static view. This will be the foundation for our animation.

  • Drag the Sales measure to the Columns shelf.
  • Drag the Profit measure to the Rows shelf.

At this point, you’ll see a single mark on your chart, representing the sum of all sales and profit. Now, we need to break this down by our chosen dimension.

  • Find the Sub-Category dimension and drag it onto the Detail card in the Marks pane. You can also drag it to Color to give each sub-category its own unique, consistent color, which is highly recommended for clarity.

You now have a scatter plot where each bubble represents a product sub-category based on its total sales and profit. It’s a useful snapshot, but now let’s bring it to life.

Step 3: Add the Time Dimension

This is the magic step that enables animation. In Tableau, animation is controlled by the Pages shelf. Whatever field you place on this shelf becomes the “frames” of your animation.

  • Find your date dimension. In the Superstore dataset, this is Order Date.
  • Drag Order Date and drop it onto the Pages shelf.

As soon as you do this, you'll see an "Animation" control box appear on the right side of your worksheet. Tableau automatically defaults to the highest level of your date, usually Year. To get a more granular animation, you can change this.

  • Right-click the YEAR(Order Date) pill on the Pages shelf.
  • In the menu, change the aggregation from Year to Month (the second Month option, MONTH(Order Date)). This option gives you a continuous month-over-month animation across years.

Step 4: Use the Animation Controls

The control box that appeared is your remote control for the animation. It includes:

  • Play/Pause Buttons: Starts and stops the animation.
  • Speed Control: A slider to make the animation faster or slower.
  • Timeline Slider: A scrubber that lets you manually jump to a specific point in time.
  • Show History: An option to display the path each bubble has traveled.

Go ahead and press the play button. You will now see the bubbles for each sub-category moving, showing you their sales and profit performance for each month in your dataset. You’ve officially built a motion chart!

Step 5: Customize and Enhance Your Chart

A basic motion chart is cool, but a well-designed one tells a much clearer story. A few quick enhancements can make a big difference.

  • Add Trails for Context: In the animation controls, click the dropdown for Show History and select "All". For Trails Format, choose a faint color. Now, when you play the animation, each bubble will leave behind a trail showing where it came from. This is fantastic for seeing the overall trajectory of each data point.
  • Size Bubbles with a Third Measure: To add another layer of information, you can control the size of the bubbles. For instance, drag the Quantity measure to the Size card on the Marks pane. Now, sub-categories with more units sold will appear as larger bubbles.
  • Clean Up Your Tooltips: Hover over a bubble. The default tooltip is okay, but you can make it better. Click on the Tooltip card in the Marks pane and edit the text to be more readable. You can make it say things like "Sub-Category: &lt,Sub-Category&gt," and "Sales: $&lt,SUM(Sales)&gt,". This makes exploring the details much easier.

Advanced Tips for Better Motion Charts

Once you’ve got the basics down, you can use these tips to elevate your visualizations from good to great.

Choose the Right Speed

The pacing of your animation is critical. If it's too fast, your audience will miss important changes. If it's too slow, you might lose their attention. Play your animation a few times and adjust the speed slider until it flows at a pace that highlights the key moments without dragging.

Use Dynamic Titles to Give Context

A simple title like "Sales vs. Profit" is fine, but a dynamic one is better. You can have the title update automatically as the animation plays.

  • Double-click the sheet title to edit it.
  • Write something like: "Sales vs. Profit for "
  • Click the Insert button in the editor and select the date field from your Pages shelf (e.g., MONTH(Order Date)).
  • Click OK. Now your title will change as the animation progresses (e.g., "Sales vs. Profit for January 2020").

Tell a Story with Annotations

Did you see a specific sub-category suddenly jump in profit in a particular month? Pause the animation, right-click that point, and select "Annotate" > "Mark". You can add text to explain why that happened. For example: "Spike due to 'Back to School' campaign." This turns your chart from a simple visualization into a powerful analytical narrative.

Common Pitfalls and How to Avoid Them

Motion charts can be tricky. Here are a few common issues and how to fix them.

1. The "Spaghetti Chart" Problem

If you have too many dimensions (e.g., a hundred different products), your screen will fill with a tangled mess of moving dots and trails. It's confusing and provides no insight.

  • The Fix: Filter your view. Focus on a smaller, more relevant subset of your data, like an underperforming group or the top 10 best-sellers. Alternatively, you can group smaller categories into an "Other" category to simplify the view.

2. Using too Granular Data

Animating data by the day over a five-year period will create a jerky, blurry animation that moves too fast to comprehend. The data points will just flicker all over the screen.

  • The Fix: Aggregate your time dimension to a more appropriate level. Instead of using Day, right-click the date field on the Pages shelf and change it to Month or Quarter. This will smooth out the animation and make long-term trends easier to spot.

3. Forgetting the 'Why'

Perhaps the biggest pitfall is creating a complex animation just because you can. A chart that moves but doesn't convey an insight isn't helpful.

  • The Fix: Start with a question you want to answer. Are we trying to see which marketing channels became more efficient over the year? Are we looking for products with declining profitability? Having a clear goal will guide your design choices and ensure your motion chart has a purpose.

Final Thoughts

Building motion charts in Tableau is a fantastic way to transform static numbers into compelling visual stories. By animating data over time, you can reveal insights about growth, decline, and patterns that are nearly impossible to see in a spreadsheet or a static chart, truly bringing your analysis to life.

While mastering tools like Tableau is a valuable skill for deep analysis, we know that marketers and business owners often need immediate answers without the long setup time. We created Graphed for exactly this reason. You can connect your data sources like Google Analytics or Shopify in seconds and simply ask questions in plain English - like "create a dashboard showing my sales trends by product category for the last year" - and get a real-time dashboard instantly. It's designed to automate the manual reporting work so you can spend less time building charts and more time acting on your data.

Related Articles

How to Connect Facebook to Google Data Studio: The Complete Guide for 2026

Connecting Facebook Ads to Google Data Studio (now called Looker Studio) has become essential for digital marketers who want to create comprehensive, visually appealing reports that go beyond the basic analytics provided by Facebook's native Ads Manager. If you're struggling with fragmented reporting across multiple platforms or spending too much time manually exporting data, this guide will show you exactly how to streamline your Facebook advertising analytics.

Appsflyer vs Mixpanel​: Complete 2026 Comparison Guide

The difference between AppsFlyer and Mixpanel isn't just about features—it's about understanding two fundamentally different approaches to data that can make or break your growth strategy. One tracks how users find you, the other reveals what they do once they arrive. Most companies need insights from both worlds, but knowing where to start can save you months of implementation headaches and thousands in wasted budget.