The violin plot is similar to box plots, except that they also show the probability density of the data at different values (in the simplest case this could be a histogram). Typically violin plots will include a marker for the median of the data and a box indicating the interquartile range, as in standard box plots. Overlaid on this box plot is a kernel density estimation.
Violin plots are available as extensions to a number of software packages, including R through the vioplot, wvioplot, caroline, UsingR, lattice, ggplot2 libraries, stata through the vioplot add-in, and the Python libraries Matplotlib and Seaborn.
Violin plots are also quite similar to the turnip graph used in STATA.
- "VIOLIN PLOT". NIST DataPlot. National Institute of Standards and Technology. 2015-10-13.
- Hintze, Jerry L.; Nelson, Ray D. (1998). "Violin Plots: A Box Plot-Density Trace Synergism". The American Statistician 52 (2): 181–4. doi:10.1080/00031305.1998.10480559.
- "violin plots". What's new in matplotlib.
- Waskom, Michael. "Violinplot from a wide-form dataset". Seaborn: statistical data visualization.
- Woloshin, Steve (November 2000). "gr45 A turnip graph engine" (PDF). Stata Technical Bulletin. pp. 5–7. STB-58.
|Wikimedia Commons has media related to Violin plots.|
- Vioplot add-in for Stata
- Example of violin plots in R
- violinplots in Python with the seaborn statistical visualization library based on Matplotlib