LabCanvas
Free account · save your work, full figure editorSign up free

Raincloud plot maker

Paste one column of values per group (names in the first row) and the tool draws a raincloud plot (Allen et al. 2019): for each group a half violin (the “cloud”, a Gaussian kernel density with Scott’s bandwidth, as SciPy), a box plot (median, quartiles, whiskers to 1.5 × IQR) and every value as a jittered point (the “rain”), horizontal or vertical. A summary table gives n, mean, SD, median, quartiles and the kernel bandwidth of each group. Download a 300 or 600 dpi PNG or open it in the LabCanvas Graph app, no code needed.

What it does
Draws each group’s kernel density as a half violin, a box plot and every data point, with a summary table.
Formula
f(x)=1nh∑iφ(x−xih)h=n−1/5SD  (Scott)
Example
Control reaction times, n = 40, SD 103.2 ms: Scott’s bandwidth h = 40^(−1/5) × 103.2 = 49.3 ms; median 448.1 ms (Q1 424.3, Q3 532.1).

Last updated

FreeNo sign-upRuns in your browserFigures

Loading Raincloud plot maker…

At a glance

Raincloud plot maker at a glance
InputOne column per group, names in the first row
CloudGaussian kernel density, Scott’s or Silverman’s bandwidth (as SciPy), cut at the data range
BoxMedian and quartiles ((n + 1)p rule), whiskers to 1.5 × IQR
AccuracyQuartiles, means, SDs and bandwidths match NumPy and SciPy to 10⁻¹²
ExportPNG at 300 or 600 dpi, CSV summary; editable in the Graph app
Runs inYour web browser; nothing is uploaded
PriceFree, no account needed

What it does

How to use the raincloud plot maker

  1. Paste your groupsOne column per group with the names in the first row, straight from Excel. Groups can have different numbers of values.
  2. Choose the layoutHorizontal (clouds above, rain below) or vertical; keep or drop the box and the points. Bandwidth, cloud size and colours are under More options.
  3. ExportDownload a PNG at 300 or 600 dpi, copy the chart or the summary table, or open the plot in the Graph app.

How it works

Why rainclouds. A bar chart of means hides the data; a box plot hides the shape of the distribution; a violin hides the sample size. A raincloud plot shows all three at once: the density, the summary and the raw values (Allen et al. 2019), in line with the call to show the data rather than bars (Weissgerber et al. 2015).

The cloud. Each group’s density is a Gaussian kernel density estimate,

f(x)=1nh∑i=1nφ(x−xih)

with the bandwidth h = factor × SD (sample SD, n−1), the factor being Scott’s n−1/5 or Silverman’s (3n/4)−1/5, exactly as SciPy’s gaussian_kde. The cloud is cut at the smallest and largest value of the group and drawn as a half violin, all clouds the same width (or the same area, so wide spreads look wide).

The box. The line is the median and the box runs from the first to the third quartile, computed at position (n+1)p in the sorted values (as GraphPad Prism; NumPy’s method="weibull"). Whiskers reach the last value within 1.5 × IQR of the box (Tukey).

The rain. Every value is a point, jittered sideways by a fixed pseudo-random amount, so the plot is the same every time it is drawn.

Accuracy. The plot is the LabCanvas Graph app’s raincloud graph, run in your browser. The quartiles, means, SDs and both bandwidths of the example match NumPy and SciPy to 10⁻¹² (scripts/raincloud-plot-maker-check.ts).

Sources: Allen M, Poggiali D, Whitaker K, Marshall TR, van Langen J, Kievit RA. Raincloud plots: a multi-platform tool for robust data visualization. Wellcome Open Res 2019;4:63, doi:10.12688/wellcomeopenres.15191.2. Weissgerber TL, Milic NM, Winham SJ, Garovic VD. Beyond bar and line graphs: time for a new data presentation paradigm. PLoS Biol 2015;13:e1002128, doi:10.1371/journal.pbio.1002128. Scott DW. Multivariate Density Estimation. Wiley; 1992. Silverman BW. Density Estimation for Statistics and Data Analysis. Chapman & Hall; 1986.

Worked example: reaction times in four groups

The built-in data are synthetic reaction times (ms) of 40 people in each of four groups, labelled as demo data. They are right-skewed, as reaction times are, and the alcohol group mixes two kinds of responders.

Summary table from the tool (Scott’s bandwidth)
GroupnMeanSDQ1MedianQ3Bandwidth
Control40490.6103.2424.3448.1532.149.33
Caffeine40433.943.9405.3432.2466.520.99
Sleep-deprived40574.6100.8504.5551.4626.448.19
Alcohol40559.486.7486.3544.2627.441.45

By hand (control). Scott’s factor is 40−1/5=0.478, so h=0.478×103.2=49.3 ms. Q1 sits at position 41×0.25=10.25 in the sorted values, a quarter of the way from the 10th to the 11th value.

What the plot shows that a box plot does not. The alcohol group’s box looks much like the sleep-deprived group’s, but its cloud is broad and flat-topped, spread evenly from about 450 to 650 ms: the data mix people barely affected with people strongly affected (they were simulated as two kinds of responders), which a box alone cannot show. The control group’s mean (490.6) sits well above its median (448.1) because of a long right tail, which the cloud and the rain make plain.

Frequently asked questions

How do I make a raincloud plot without code?

Paste one column per group (names in the first row) into the table. The plot appears at once; choose horizontal or vertical, then download a 300 or 600 dpi PNG or open it in the LabCanvas Graph app. No R or Python needed.

What is a raincloud plot?

A plot that combines a half violin (the distribution’s density, the cloud), a box plot and the raw data points (the rain) for each group, introduced by Allen et al. (2019) to show the data, its summary and its shape together.

Raincloud, violin or box plot: which should I use?

A raincloud when you want readers to see every value and the shape of the distribution; it works best with about 10 or more values per group. With very few values, a dot plot with the mean is clearer. A box plot alone hides bimodal groups.

How is the cloud (density) calculated?

As a Gaussian kernel density with Scott’s bandwidth, n^(−1/5) × SD, the default of SciPy’s gaussian_kde; Silverman’s rule is under More options. The cloud is cut at each group’s smallest and largest value.

Can I add statistics?

Open the plot in the LabCanvas Graph app and add a test (t test, ANOVA, Kruskal–Wallis and more); for p-value brackets on a box or violin plot, use the box plot maker.

Can groups have different sizes?

Yes. Leave the extra cells of the shorter columns empty.

Add tests and put it in a figure

The LabCanvas Graph app draws rainclouds, box, violin and dot plots with statistical tests, styled for journals. Your groups from this page open in it.

Open the Graph app