Skip to content
Graph Craft

Beeswarm Plot

FacebookX
Example: Midterm scores of students in 3 classes (made-up data)Apache ECharts

Variant: Standard

Made-up data, for demonstration only

Variants

4 types · click one to see it in the frame above
Difference from standard
The recommended type; use it as a starting point
Use when
Show individual points while avoiding overlap

Beeswarm Plot is a chart that draws every value as a dot and nudges the dots up and down just enough that none overlap. The result looks like a swarm of bees and shows density. Use it to compare the spread of several groups when there is not too much data, such as the midterm scores of students in 3 classes.

How to read a Beeswarm Plot

  • One dot is one student. This example has 3 classes of 36 students each (made-up data).
  • Position along the horizontal axis is the score. The up-and-down shift only keeps the dots apart. It has no meaning.
  • A fat part of the swarm means many students with similar scores. The tighter the packing, the denser the data.
  • Class M.4/2 is highest. Its average is about 69.5, and 31 of its 36 students scored 60 or more.
  • Class M.4/3 is lowest. Its average is about 45.4, and 25 of its 36 students scored below 50.
  • Class M.4/1 is in the middle. Its average is about 55.2 and its scores are more spread out, from about 35 to 73.

You see every student's score and the shape of the distribution at the same time.

When to use it

  • The dots can still be told apart. Every dot is visible and the shape stays clear.
  • You want both the individual values and the shape of the distribution. Dots placed so they do not overlap show how dense the data is in each range.
  • A strip plot is hiding dots. In an ordinary strip plot, dots with the same value sit on top of each other. The documentation of the beeswarm package defines this chart as a strip chart with closely packed points that do not overlap.

When not to use it

  • There are thousands of points. The dots get too crowded to read. Use a Violin Plot or a Density Plot.
  • You want a compact summary of the centre and spread. Use a Box Plot.
  • There are only a handful of points. A plain Strip Plot is enough.
  • Readers might take the vertical axis as data. Tell them the up-and-down shift means nothing.

Common mistakes

1. Reading the vertical offset as data

The height of a bulge in the swarm comes from how the dots are arranged, not from anything measured. Tell readers to read the horizontal axis only.

BadDots too big

Synthetic data: dots overlap

GoodDots avoid each other

Same data: each person's dot is visible

2. Dots that are too large

Large dots make the swarm so wide that it spills into the next row. Try the "Dots too large" variant and compare it with the normal version.

3. No centre to compare

Try the "Mean ticks" variant, which marks each class average (55.2, 69.5 and 45.4). The classes are quicker to compare.

4. Emphasising every group at once

If the point is about one class, colour that class and make the rest grey. Try the "Highlight one group" variant.

5. Using it for groups nested several levels deep

Several swarms laid on top of each other are hard to read. Separate the rows by group, as this example does.

Compared with similar charts

ChartHow it differsChoose it when
Beeswarm PlotDots placed to avoid overlap, following densityTens to hundreds of values and you want to see every dot
Strip PlotDots on a single lineThere is little data
Violin PlotA density shapeThere is a lot of data
Box PlotA box summarising the distributionYou want a compact summary
Raincloud PlotHalf a violin, a box and dotsYou want the shape and the real data together

History and development

No source confirms who first placed dots this way. The R package beeswarm, by Aron Eklund and James Trimble, describes the chart as a strip chart with closely packed points that do not overlap. The CRAN archive holds version 0.0.7 dated 7 October 2010. That evidence dates the package, not the birth of the chart.

Frequently asked questions

How is a Beeswarm different from a Strip Plot?

A Strip Plot puts the dots on a single line, so dots with the same value overlap. A Beeswarm shifts the dots so none overlap, which shows the shape of the density.

Why is it called a beeswarm?

Because the tightly packed dots look like a swarm of bees.

How many dots per group are right?

There is no fixed number. If the dots are too crowded to read even after you shrink them, switch to a violin plot.

Can I combine it with a box?

Yes. Lay a mean tick or a box over the dots and you see both the summary and the real data.

References

  • beeswarm: The Bee Swarm Plot, an Alternative to Stripchart · CRAN (R package) · cran.r-project.orgUsed to confirm: how a bee swarm plot places dots so they do not overlap
  • Fundamentals of Data Visualization, ch. 9: Visualizing many distributions at once · Claus O. Wilke · clauswilke.comUsed to confirm: comparing many distributions at once, such as box plots and violins

Last updated 28 Nov 2026