By · Updated

Bubble Chart Maker

Name, X, Y and Size Rows Pasted In, With Optional Log X Axis

No ratings yet

OneTask is free, with no sign-up, and built by one person.
If this tool saved you time, a coffee helps keep new ones coming.

How the Bubble Chart Maker works

This bubble chart maker sizes each point by a third value. A bubble chart is a scatter plot with a third number: each point becomes a circle whose area is proportional to the value. Paste a table with a name column and three number columns, and this page plots them, labels each bubble and downloads the result as SVG or PNG.

A bubble chart is a scatter plot with a third number. Each point sits at an x and y position like any scatter, and the size of its circle carries a third measure. That extra dimension is why bubble charts show up wherever people need to compare things on several axes at once: countries by income, health and population, products by price, rating and sales, or projects by effort, impact and cost.

The best-known example is Gapminder's chart of countries by income per person against life expectancy, with population as the bubble size, which Hans Rosling made famous in his 2006 TED talk. The sample data follows the same pattern because it shows the form at its best: two related measures, a size that adds context, and labels that let the reader find their own country.

Using the bubble chart maker

Paste or type your data as rows. The tool reads columns in a fixed way:

Column Role Example
First text column Bubble names Country, product, project
First numeric column X position GDP per capita
Second numeric column Y position Life expectancy
Third numeric column Bubble area Population

The header row names the axes unless you fill in the axis label fields. Any extra columns are ignored, so you can paste straight from a spreadsheet and reorder the columns there if needed.

Size is area, not radius

The third value maps to the area of each circle. A bubble for twice the value covers twice the ink, which is how the eye judges size. Scaling the radius instead, a common mistake in hand-made charts, makes a value twice as large look four times as big. Bubble size sets the largest circle and every other bubble scales from it, so Large suits a handful of points and Small a crowded chart. Big bubbles are drawn first, so small ones are never hidden underneath.

Even with honest scaling, people read area less precisely than position. Research on graphical perception, starting with Cleveland and McGill in 1984, ranks position on a common scale as the most accurate encoding and area well below it. Put the two measures that matter most on the axes and use size for the supporting one.

When to use a log axis

Income, population, company revenue and city size are spread across several orders of magnitude. On a linear axis most bubbles crowd into the left edge with a few far out on the right. X axis scale: Log spaces each factor of ten equally, which spreads the crowd and often turns a curve into a straight line. The Gapminder chart uses a log income axis for exactly this reason. Log only works when every x value is positive; with a zero or negative value the axis stays linear. Label the chart so readers know the scale is logarithmic, because equal steps no longer mean equal differences.

Reading the stats

Tips

Alternatives

If you only have two measures, a scatter plot is clearer. For thousands of points, a hexbin plot shows density where bubbles would overlap. If size is the only measure and position means nothing, a circle packing chart packs the circles tightly instead.

Exporting

Download SVG gives a vector file that stays sharp in reports and slides. Download PNG renders at 1×, 2× or 3× the preview width for documents and social posts, and Copy SVG puts the markup on the clipboard for pasting into a design tool. The chart is drawn in your browser and your data is never uploaded.

FAQ

Which column controls the bubble size?

The third numeric column in the table. The first two numeric columns are x and y. Text columns are ignored for plotting, and the first one is used for the bubble names, so a table laid out as Name, X, Y, Size works as it is.

Why are the bubbles sized by area rather than radius?

Because people judge the size of a circle by how much space it covers. If the radius were proportional to the value, doubling the value would quadruple the area and the chart would exaggerate every difference. Area scaling is the convention in every serious charting library.

When should I use a log axis?

When x spans several orders of magnitude, such as incomes from 2,000 to 80,000 or populations from thousands to billions. A log axis gives each factor of ten equal space so the small values are not crushed together. Log requires positive values and only applies to the x axis here.

Can I colour bubbles by category?

Each bubble takes the next palette colour in size order, which distinguishes them without a grouping column. For a plot grouped by category with a legend, use the scatter plot maker, which colours points by any text column.

See also: all Chart Makers tools, Images, Audio, Video & Screen, PDF, SVG, Simulations & Screensavers, Generative Art, 3D Model Viewers, Drawing Pads, Mockups & 3D Making, Diagram Makers, 3D Science, Tracker Music.

Related tools