Best Data Viz
Ranking

Bar Chart Race

An animated horizontal bar chart where bars re-sort over time to show how rankings change, creating a dynamic 'race' effect.

Top Companies by Revenue, 2021–22

Cyberdyne climbed from #4 to #1 in five quarters

View data (25 rows)
Chart data table: Top Companies by Revenue, 2021–22
RevenueBrandQuarter
150Acme CorpQ1 2021
130GlobexQ1 2021
115InitechQ1 2021
80CyberdyneQ1 2021
70UmbrellaQ1 2021
148Acme CorpQ2 2021
138GlobexQ2 2021
122InitechQ2 2021
105CyberdyneQ2 2021
76UmbrellaQ2 2021
142Acme CorpQ3 2021
145GlobexQ3 2021
138CyberdyneQ3 2021
128InitechQ3 2021
82UmbrellaQ3 2021
168CyberdyneQ4 2021
152GlobexQ4 2021
138Acme CorpQ4 2021
134InitechQ4 2021
88UmbrellaQ4 2021
195CyberdyneQ1 2022
158GlobexQ1 2022
142InitechQ1 2022
132Acme CorpQ1 2022
95UmbrellaQ1 2022
Make a bar chart race with your data

Use a bar chart race when…

  • Creating engaging animated presentations of rank changes over many time periods
  • Showing both magnitude and rank simultaneously as they evolve
  • Making data stories for social media or video content

Avoid when…

  • When precise comparisons at a single point in time are needed
  • When the audience cannot view animations (print, email, static reports)
  • When there are few time periods or few items to compare

Data it needs

PropertyValue
Min Rows20
Min Columns3
Column Types
stringdatenumber
NotesRequires an item name, a time period, and a numeric value. More time steps yield smoother animation.

Visual anatomy

Marks
horizontal bartext label
Channels
length (value)vertical position (rank)color (item)
Axes
x-axis: valuey-axis: rank position (dynamic)

Guiding principles

Consider instead

Common mistakes

  • Running the animation too fast for viewers to read labels

  • Not providing a pause/scrub control for exploration

  • Including too many bars, making the race chaotic

  • Re-using colors across items between frames — color identity must be stable so the eye can track each bar through the race

History

Bar chart races gained viral popularity around 2018-2019 on YouTube and social media, with creators like Flourish and others producing GDP, population, and brand-value races. The format combines Edward Tufte's small multiples philosophy with animation to show time evolution.

Accessibility notes

Provide playback controls (play, pause, speed, scrub). Include a keyboard-accessible timeline slider. Offer a static table or small multiples view as a non-animated alternative.

Related reading

Got data? Let's see what works.

Drop your CSV. You'll get a Bar Chart Race plus four alternatives - ranked by which one actually fits your data best.