Is this the same as a Gapminder chart?
It’s the same idea: items moving in X and Y over time, sized by a third measure. The data and the look are your own.
Free · runs in your browser · no sign-up
Every item moves through time in two dimensions at once, its bubble sized by a third value: the classic wealth-and-health story, made from your own table.
A bubble chart race is an animated scatter plot: each item is a bubble placed by two measures, sized by a third, and moving as the years pass. Open the Wealth and health template below to see thirty countries’ income and life expectancy from 1990 to 2022, sized by population and coloured by region.
To use your own data, you need one value per row: a period column, a name column, and number columns for X, Y and (optionally) size, plus a category for colour if you like. The Data step reads that layout automatically; under Columns you choose which number is X, which is Y and which is the size.
Select Open the Wealth and health template, or choose Bubbles under Pick a chart to start.
In Data, use Open a file or Paste data with columns like Year, Country, Region, Income, Life expectancy, Population.
Under Columns, set Period, Name, Value (Y), X (bubbles), Size (bubbles) and Category (colours).
In Chart, turn on Log scale for X for values that span several powers of ten, and Trails to draw each big bubble’s path.
In Export, choose the format and press Export video.
Bubble area, not radius, is proportional to the size value, so a country with twice the population has a bubble with twice the area. The biggest bubbles are drawn first and smaller ones on top, each with a thin edge so overlapping bubbles stay distinct.
Names are shown on the largest bubbles that have room; others go unlabelled rather than piling up. The year sits large and faint behind the bubbles.
Income, population and company size often range from hundreds to hundreds of thousands. On a linear axis, most bubbles crowd into a corner; Log scale for X gives each tenfold step the same width, which is why the Wealth and health template uses it.
It’s the same idea: items moving in X and Y over time, sized by a third measure. The data and the look are your own.
No. Without one, every bubble is the same size and the chart becomes an animated scatter plot.
A bubble race needs X and Y for every item in every period, so it has to be one value per row. Reshape it in your spreadsheet (or use a race or line chart for a single measure).
Yes. Set Category (colours) in the Columns section and choose Category under Colour by; a legend appears.
The World Bank’s World Development Indicators (CC BY 4.0): GDP per person (PPP), life expectancy at birth and total population.