What Is a Racing Bar Chart?

Racing bar charts are a fun way to show how rankings change over time. Instead of looking at a static bar chart at one point in time, the bars move as the date changes, allowing you to see different values move up and down the rankings.

For this walkthrough, I will be using NFL receiving yards to show how players climb the receiving leaderboard over time. However, the same technique can be applied to many different datasets.

You could use a racing bar chart to visualize things like:

  • Company revenue over time
  • Product sales
  • Country populations
  • Music or movie rankings
  • Social media growth
  • Any other metric that changes over time

By using the Pages shelf and Tableau's built-in animations, we can turn a normal ranked bar chart into a racing bar chart.

What Type of Data Do You Need?

Before building the chart, we need data containing three important pieces of information:

  1. Date or time field
  2. Dimension you want to rank
  3. Cumulative value

For my example, those fields look something like this:

The Week of Game field tells Tableau which point in time we want to animate.

Depending on your data, this field could represent:

  • Days
  • Weeks
  • Months
  • Quarters
  • Years

The Player Name field is the dimension we want to rank.

Finally, Career Receiving Yards contains the cumulative value we want to track. Rather than showing only the receiving yards from an individual game, this field represents the player's total career receiving yards up to that point in time.

That cumulative value is what we will use to determine each player's position in the race.

Creating the Ranking Calculation

We only need one calculated field for this build:

RANK_UNIQUE() assigns each player a unique position based on their cumulative receiving yards.

Building the Bar Chart

Now that our ranking calculation is ready, we can start building the visualization.

Step 1: Add the Cumulative Value

Right-click and drag Career Receiving Yards onto Columns.

When Tableau asks how you want to aggregate the field, select MAX(Career Receiving Yards).

It is important that we use MAX rather than SUM because our cumulative value is already stored in the data.

Step 2: Add the Player Rank

Drag Player Rank onto Rows.

At first, you may only see a single mark in the view.

That is completely normal.

Step 3: Add Player Name

Drag Player Name onto Color on the Marks card.

Then drag Player Name onto Label.

You should now see a separate mark for each player.

Step 4: Configure the Player Rank

Right-click Player Rank on Rows and select Compute Using → Player Name.

Next, change Player Rank from Continuous to Discrete.

Once the rank is discrete, the pill will turn blue and each player will receive their own row. The marks will now appear as bars, and the visualization will begin to look like a ranked bar chart.

Formatting the Bar Chart

Now that the bars are working, we can do a little formatting to make the visualization easier to read.

First, drag MAX(Career Receiving Yards) onto Label so each bar displays both the player's name and their current receiving total.

Then select Label on the Marks card and adjust the formatting:

  • Change the label alignment to Left

Screenshot 2026-08-30 162902.png

  • Edit the label so the player name and receiving yards appear on the same line

Screenshot 2026-08-30 162956.png

  • Increase the size of the bars using Ctrl + Up Arrow if you want more space between the labels
0:00
/0:02

You can also remove unnecessary gridlines, headers, or other formatting that distracts from the movement of the bars.

Making the Animation

Now that the bar chart is complete, we can turn it into a racing bar chart.

Step 1: Add the Date to Pages

Drag Week of Game onto the Pages shelf.

Once the field is on Pages, click the dropdown and choose the date level you want to use for the animation.

For this visualization, I will use Year because I want the race to progress season by season.

Depending on your dataset, you could instead animate by:

  • Day
  • Month
  • Quarter
  • Year

Once the field is added to Pages, the Pages card will appear beside the visualization.

Step 2: Turn On Animations

Go to Format → Animations.

Turn animations On.

From here, you can adjust the animation duration and choose between Tableau's animation styles.

Simultaneous moves the marks together as the visualization transitions from one page to the next.

Sequential breaks the transition into stages rather than animating all of the changes at the same time.

Try both options and choose whichever works best for your visualization.

Step 3: Press Play

Return to the Pages card and press Play.

Tableau will begin moving through each season, updating the cumulative values and rankings as the players move up and down the leaderboard.

Try it out below!

Congratulations, You Have a Racing Bar Chart!

While racing bar charts may not always be the most business-oriented visualization, they are a fun way to explore how data changes over time while experimenting with some of Tableau's animation capabilities.

For the final visualization shown in this walkthrough, I filtered the data to players who began their careers in the 2010s. This keeps the race focused on a smaller group of players while still tracking their cumulative career receiving yards over time.