Skip to content
Graph Craft

Raincloud Plot

FacebookX
Example: A full view of A/B test resultsPlotly.js

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
Combine the distribution, a summary and the raw points

Raincloud Plot is a chart that combines three parts: a "cloud" (a half violin showing the distribution), "rain" (every raw data point, jittered slightly) and a small box showing the centre. Use it to compare several groups while seeing both the shape of the distribution and the raw data, such as the result of an A/B test on time spent on a checkout page.

How to read a Raincloud Plot

  • The cloud (half violin) is the distribution of the group. The bulging parts are where the data are dense. This example has 2 groups, the old design (A) and the new design (B), with 90 people each (made-up data).
  • The rain (dots) is each person's real data. There are 90 dots per group. Use them to see whether there is enough data and whether any values stray far from the rest.
  • The small box in the middle is the centre. The line in the box is the median, and the box covers the middle half of the data.
  • The new design (B) takes longer and is more spread out. The mean is about 5.1 minutes (median about 4.9), against about 4.0 minutes for the old design (median about 4.0). About 49% of B users (44 of 90) spend more than 5 minutes, against about 17% (15 of 90) for A.
  • B's times cover a wider range, from 2.6 to about 8.9 minutes, while A runs from about 1.1 to 6.9 minutes.

When to use it

  • You want readers to see both the distribution and the real data. The chart shows the raw data, the shape of the distribution and summary statistics together.
  • You would otherwise use a bar chart of means with error bars. A bar chart of means hides patterns in the raw data that the dots and the distribution shape reveal.
  • You compare groups of different sizes. The dots show how many people there really are, but when a group is large the dots can overlap, so adjust the transparency.
  • You have a number of points that is still readable. This example has 90 dots per group.

When not to use it

  • The readers are a general audience who want a simple picture. A chart with several parts can look busy. Use a Bar Chart of one value, or a Box Plot.
  • There is very little data. The cloud shape cannot be estimated. Use a Strip Plot.
  • There are tens of thousands of points. The dots pile into a lump. Use a Violin Plot or a Density Plot.
  • You compare so many groups that each gets a thin strip. Use a Ridgeline Plot.

Common mistakes

1. Putting in every part until it is cluttered

With lots of data, the dots hide the shape. Try the "No data points" and "No box" variants to see what each part tells you. Allen and colleagues say the parts can be adjusted to suit the use.

2. Reading the shape as real data at every point

The cloud comes from a density estimate and can look as if there is data where there is none. That is why the data points are there to check against.

3. Not giving the number of data points

If the two groups differ in size, label n.

4. Not highlighting the group that is the point

Two equal colours leave the eye with nowhere to go. Try the "Highlight the new version" variant, where B is coloured and A is grey.

5. Comparing medians across groups by eye alone

Give the numbers for the centre and the difference, such as B's median being about 0.9 minutes higher than A's.

Compared with similar charts

ChartHow it differsChoose it when
Raincloud PlotA half violin, real points and a boxYou want to see both the shape and the raw data
Violin PlotA mirrored shapeThere is a lot of data and you want to see the shape
Box PlotA box of five numbersA compact summary
Beeswarm PlotPoints arranged so they do not overlapSmall to medium data
Error BarThe mean with an uncertainty rangeReporting a survey or experiment

History and development

Micah Allen and colleagues published the article "Raincloud plots: a multi-platform tool for robust data visualization" in Wellcome Open Research in 2019, with examples and code for R, Python and Matlab. The plot combines a half violin, slightly jittered data points, and a box or other measure of the centre.

Frequently asked questions

Why is it called a raincloud?

The cloud is the distribution and the rain is the raw data points falling beneath it.

How is a Raincloud different from a Violin?

A violin is symmetric, mirrored on both sides. A raincloud keeps only one half, because the other half repeats it, and uses the space on the other side for the real data points and the box.

Do I need the box?

No, but the box lets readers see the median and quartiles at a glance. See the "No box" variant.

How many groups can I use?

There is no fixed number. With many groups each row gets thin. This example has 2 groups.

References

  • Raincloud plots: a multi-platform tool for robust data visualization · Allen, M., et al. (2019) · Wellcome Open Research, 4, 63 · wellcomeopenresearch.orgUsed to confirm: the origin of the raincloud plot and how to build one
  • The boxplot and its pitfalls · Data to Viz · www.data-to-viz.comUsed to confirm: how to read the boxplot and its pitfalls, and what to watch for
  • Fundamentals of Data Visualization, ch. 9: Visualizing many distributions at once · Claus O. Wilke · clauswilke.comUsed to confirm: comparing several distributions at once, such as box plots and violins

Last updated 28 Nov 2026