The Bee Swarm Plot, an Alternative to Stripchart

The bee swarm plot is a one-dimensional scatter plot like "stripchart", but with closely-packed, non-overlapping points.


beeswarm

CRAN_Status_Badge CRAN_Downloads_Badge

An R package implementing bee swarm plots

You can see some examples here: http://www.cbs.dtu.dk/~eklund/beeswarm/

Installation

You can install the latest release on CRAN like this:

install.packages("beeswarm")

Or you can install the latest development version from GitHub like this:

## install.packages("devtools")
devtools::install_github("aroneklund/beeswarm")

Related works

  • ggbeeswarm bee swarm and related plots in the ggplot2 framework
  • pybeeswarm bee swarm plots in Python

It's also known as a dot plot

Leland Wilkinson (1999). Dot plots. The American Statistician. 53(3):276-281. PDF

It seems to be the same basic point layout algorithm, except that Wilkinson suggests an additional smoothing step that the beeswarm package does not do.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("beeswarm")

0.4.0 by Aron Eklund, 5 years ago


https://github.com/aroneklund/beeswarm


Report a bug at https://github.com/aroneklund/beeswarm/issues


Browse source code at https://github.com/cran/beeswarm


Authors: Aron Eklund [aut, cre] , James Trimble [aut]


Documentation:   PDF Manual  


Artistic-2.0 license


Imports stats, graphics, grDevices, utils


Imported by IRTShiny, MetaEntropy, clickR, ggbeeswarm, sjSDM, statuser, tmod.

Suggested by HiResTEC, ggdist, papaja, vipor.


See at CRAN