StatFas emblem: a philosopher beside a rising bar chart StatFas.comAn Easy Way to Do Statistics

Violin Plot Generator

Use this tool when you want to show the whole distribution of an outcome in each group and test which groups differ. Upload your data below (CSV, Excel or SPSS, or paste it), choose the outcome and the grouping variable, and run the analysis.

About the violin plot generator

A violin plot combines a box plot with a kernel density estimate, so you can see the shape of each group’s distribution (skew, several peaks, spread) as well as its center. It reveals patterns that a bar chart of means or a plain box plot hides.

This generator also does the statistics. It checks whether residuals are normal (Shapiro–Wilk) and variances are equal (Brown–Forsythe), then chooses the omnibus test and post hoc procedure that fit your data (ANOVA with Tukey HSD, Welch with Games–Howell, or Kruskal–Wallis with Dunn, Holm-adjusted; two groups use a t test, Welch test or Mann–Whitney). Groups that share a letter do not differ at α = .05, or you can show asterisk brackets.

When to use it

Use it for biological, clinical and agricultural comparisons across treatments, genotypes or time points, wherever the shape of the distribution matters: skewed measurements, small samples with outliers, or groups with different spread. You can add a second grouping variable to compare all treatment combinations.

What this generator reports

Assumptions to check

How to report it in APA7

Report the test statistic with degrees of freedom, the exact p and an effect size, then the post hoc result and what the letters mean (groups sharing a letter did not differ at α = .05). The generator writes this from your results and interprets each figure.

Customize and download

Change colors, fonts, font sizes and line widths in the figure style panel, then download each figure (PNG or SVG) and table (CSV), or the full set of figures, tables and interpretations as one Word file. Downloads need a free StatFas account; running the analysis does not.

Frequently asked questions

Is the Violin Plot Generator free?

Yes. You can analyze data and read all results without an account. Create a free account or log in only when you want to download results.

How are the significance letters chosen?

The tool picks the test from your data, runs all pairwise comparisons with the matching post hoc procedure, and gives groups that do not differ a shared letter. The group with the highest mean is labelled “a”.

Can I change colors, fonts and line widths?

Yes. Colors, text colour, line widths, font sizes and fonts are all adjustable, and the figure follows the true printed size of an A4 page.

Is my data uploaded to a server?

The analysis runs in your browser. Your data stays on your device while you work with the generator.

Related tools