Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M9151

Violin Plot

Violin Plot
TechnicalHigh supportStatistics
Included
account_tree

Updated 2026-08-15

Loading revision record…

Summary

A violin plot combines a box plot with a kernel density estimate so the shape of a distribution becomes visible.

Definition

The violin plot overlays a kernel density estimate on the summary statistics of a box plot, so the width of the shape at each value indicates how much data lies there. It reveals features that summary statistics hide, including multiple peaks and skew. The qualification is that the density estimate requires enough data, since a small sample produces a smooth shape that implies structure the data cannot support.

How to use

- Use Distribution Comparison: compare the full shape of several groups rather than only their averages. - Use Sample Size Check: confirm there is enough data before trusting the smooth density shape.

Mechanism

A mean or median collapses a distribution into one number, so two groups with the same average can differ completely in spread and shape. Estimating density at each value and displaying it as width restores that information, which makes bimodality and skew visible at a glance.

Practice

In progress 0/1

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • Comparing patient measurements across treatments, the violin plot reveals multiple peaks and skew that mean values conceal.
  • Response time distributions across server versions show a second peak that averages would hide.

Common pitfalls

  • Drawing a smooth violin from too few observations so the shape is an artefact, reading the outline while ignoring sample size and outliers, and confusing its purpose with that of a box plot.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Violin_plotZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS