DistributionSample

Violin plot

Mirrors a smoothed distribution around a centre line, showing the full shape of each group.

The shape of session length per day type: note the weekend’s two peaks.

Sample data

Use it when

  • Groups may have two peaks or long tails
  • Comparing shapes across a few groups

Avoid it when

  • Small samples: the smoothing invents shape the data does not have

Display modes

Default
The shape of session length per day type: note the weekend’s two peaks.
Distribution
Adds the quartile bar, median and raw points inside each shape.

More in Distribution