Creating a violin plot
You can add a kernel density estimate (KDE) to the box plot to effectively turn it into a violin plot.
About this task
A violin plot is a visualization that combines a box plot and a KDE to show the distribution of a data set. The width of the plot at different values represents the density of the data at those points; wider areas mean more data is concentrated there. This helps you see the overall shape of the data, how spread out or clustered it is, and patterns that a box plot alone might not reveal.
Before you begin
You have created a box plot.
Procedure
- Violin plot algorithm
You can enhance a box plot with a kernel density estimate (KDE) to create a violin plot, showing the distribution of values for each category in more detail.
Parent topic: Box plot
and select