23/09/2025
Box and Whisker plot vs Violin plot
Box and Whisker plot : is a visual representation of the distribution of a dataset. Its summarize data using five key statistics ( Minimum, first quartile Q1, Median , Third Quartile Q3 , and Maximum).
- Display outliers
-useful for compare between groups.
- But it doesn’t show the full shape of the distribution.
Violin plot: is a hybrid of a box plot and a kernel density plot. Its display the probability density of the data , where the width of the violin shape indicates the density of data points as given value. The wider section representing more frequent values.
- Display summary statistics, also show whether the data are bimodal and skewed.