Violinplots allow to visualize the distribution of a numeric variable for one or several groups. It is really close from a boxplot, but allows a deeper understanding of the density. Violins are
particularly adapted when the amount of data is huge and showing individual observations gets impossible. Seaborn is particularly adapted to realize them through its violin function.
Violinplots are a really convenient way to show the data and would probably deserve more attention compared to boxplot that can sometimes hide features of the data.
Format 1: 1 numerical variable (for the Y axis) + 1 categorical (gives the groups). This is the ‘long‘ or ‘tidy‘ format.
Format 2: several numerical variables : one per group. This is the ‘wide‘ format.