Skip to content

Show raw points instead of sparse violins

baddistributionsmechanicalWilke 2019 p. 85

Are the daily distributions supported by dense samples?

Illustrative independent machine output readings, eight machines sampled per day.

“Violin plots can give the impression of dense, smooth distributions even when drawn from only a handful of points”

Claus O. Wilke, "Fundamentals of Data Visualization", p. 84.

Also covered in Wilke 2019 (9 Visualizing Many Distributions at Once, p. 85).

CVD preview

Before

A smooth silhouette implies a detailed distribution from just eight machines.

Download before Python code

After

Eight offset dots per day reveal the size and discreteness of each sample.

Download after Python code

Values

Smooth violins summarize four small machine samples.

The final mean exceeds 22 units per hour, but its confidence interval crosses the target.