Read a Raincloud Plot: Compare Raw Data, Shape, and Summary
A raincloud plot places individual observations, a one-sided density curve, and a summary such as the median and quartiles in one view. It helps compare the shape of continuous data without hiding the observations, but it is not a fixed template or a significance test. Name each layer, keep groups on comparable scales, and disclose the sample size and density-smoothing settings.
Read a Raincloud Plot: Compare Raw Data, Shape, and Summary
A raincloud plot places individual observations, a one-sided density curve, and a summary such as the median and quartiles in one view. It helps compare the shape of continuous data without hiding the observations, but it is not a fixed template or a significance test. Name each layer, keep groups on comparable scales, and disclose the sample size and density-smoothing settings.
Figure 1. Two rainclouds made from invented data for explanation. Each half violin is a Gaussian kernel-density estimate with bandwidth 4.2 units; the dots are 12 observations per group; the box and whiskers show the median, quartiles, and 1.5-IQR rule. Both clouds have the same maximum height so their shapes, not absolute density or sample size, are compared. Both medians are 50, while group B's points form two clusters. These are not measured results.
The cloud, rain, and box answer different questions
The name refers to the cloud-shaped half violin and the observations scattered below it like rain. A box plot or a mean with an interval can be added. The original paper presents the design as modular: choose the cloud, rain, and interval to suit the data and the analytical question rather than treating one arrangement as mandatory.
| Layer | What it shows | What to check |
|---|---|---|
| Half violin (cloud) | A smoothed estimate of the observed distribution; it can suggest concentration, skew, or multiple peaks. | It is neither the observations nor a confidence interval. Its shape depends on bandwidth and boundary handling. Width does not necessarily encode sample size. |
| Individual dots (rain) | One recorded observation per row. | Jitter may spread dots along the categorical direction so overlaps are visible; it must not change their measured values. With many observations, check for clutter. |
| Box or summary | A box commonly shows the median and first and third quartiles; whiskers follow a separately chosen rule. Some implementations use a mean and interval instead. | State the whisker rule and interval type. SD, SE, and confidence intervals are different quantities. |
A density curve is a smoothed approximation, not a histogram that counts observations in bins. The bandwidth controls how broadly nearby values are smoothed. A broad bandwidth can merge nearby peaks; a narrow one can make random sample variation look like structure. Tools can also use different default bandwidths and width scaling. For example, ggplot2 documents bandwidth controls called bw and adjust, and violin scaling choices named area, count, and width. Report the settings so readers can reproduce the curve.
The same median can hide different data shapes
These two groups are invented examples with 12 values each.
| Group | Synthetic observations | Median | Pattern in the points |
|---|---|---|---|
| A | 44, 45, 46, 47, 48, 49, 51, 52, 53, 54, 55, 56 | 50 | One fairly continuous cluster near the center |
| B | 35, 36, 37, 38, 39, 41, 59, 61, 62, 63, 64, 65 | 50 | Two clusters separated by a gap |
If you report only the median, the groups may look alike. The dots show where the observations lie; the cloud shows what those values look like after smoothing. Check whether B's two peaks remain when you vary the bandwidth. With a small sample, the density curve can be unstable. Do not infer that two real subpopulations exist from the cloud alone; check the raw points and how the data were generated.
When to choose a box, violin, dot plot, or raincloud
A raincloud adds layers; it is not always the clearest chart. A simpler display may answer the question better.
| Information needed | Simpler choice | When a raincloud helps | Caution |
|---|---|---|---|
| Median and interquartile range | Box plot | You also need to inspect individual values and the distribution outline. | A box alone can hide multiple peaks and individual observations. |
| Smooth distribution shape | Violin plot | You want to place raw points and a compact summary beside the density. | The two mirrored sides repeat the same density. Sample size can be unclear unless shown separately. |
| Individual values, ties, or clusters | Strip or beeswarm plot | The sample is manageable and density shape also matters. | Many dots can become too crowded to read. |
| Estimated group difference and uncertainty | Point-and-interval or estimation plot | The distribution itself is a main question and you also need a summary. | The raincloud's cloud is not a confidence interval for a group mean difference. Overlap is not a significance test. |
A practical design sequence
Define the observational unit: one dot might be one person, transaction, or repeated measurement. Record missing-value handling and the actual sample size; check that joins have not duplicated observations.
Choose the value and grouping variables. Keep the value axis identical across groups and use the same density-width normalization. If maximum width is equalized, width does not show sample size, so display `n` separately.
Add only the layers that answer the question: half violins for shape, dots for observed clusters and outliers, and a box for center and spread. Jitter dots only along the group direction, not along the measurement axis.
Check bandwidth and natural boundaries. Compare plausible bandwidths to see whether peaks or tails change. If values have a bound such as zero, make sure smoothing does not imply impossible values; consider a boundary-aware density or a histogram instead.
Preserve pairing in repeated measures. If the same people or items appear under several conditions, connect observations by ID or show within-unit differences. Treating paired data as independent loses the repeated structure.
Define every summary in the caption: whether dots are observations, which quartiles the box uses, the whisker rule, density method and bandwidth, width scaling, `n`, units, and missing-value handling. If estimate uncertainty matters, state the parameter and interval separately.
If the plot is hard to read
If points show two clusters but the cloud is smooth, inspect the bandwidth; smoothing can erase or create apparent structure.
If dots overlap, use transparency, a beeswarm layout, or show group sample sizes. If you draw only a sample of points, disclose the sampling rule.
If one cloud is much wider, check whether all groups use the same density scaling or whether width changes with sample size.
If you need a confidence interval, define what is uncertain. A sample-distribution cloud and an interval for a mean or group difference describe different quantities.
For many repeated or ordinal values, make ties visible and compare a frequency or stacked-dot display rather than scattering identical values into misleading positions.
The original paper emphasizes rainclouds' flexibility and complementary layers, while cautioning that a violin density should not replace inference. Use density, raw observations, and summaries to describe group distributions. When the question is effect size and uncertainty, show the effect estimate and its interval directly.
References
[Allen et al., Raincloud plots: a multi-platform tool for robust data visualization (2019)](https://doi.org/10.12688/wellcomeopenres.15191.1)
[RainCloudPlots official repository and implementation guide](https://github.com/RainCloudPlots/RainCloudPlots)
[ggplot2 documentation: Violin plot, bandwidth, and width scaling](https://ggplot2.tidyverse.org/reference/geom_violin.html)
[R documentation: Kernel density estimation](https://stat.ethz.ch/R-manual/R-devel/library/stats/html/density.html)