Violin Plot Generator

Enter your numeric data for up to four groups and let the Violin Plot Generator compute the full distribution summary. Input your data values (one per line) for each group, add optional group labels, and choose a chart title and Y-axis label. The tool calculates each group's median, interquartile range (IQR), min/max, and a kernel density estimate — combining box plot statistics with a mirrored density curve into a true violin shape. Results display as a visual summary table showing quartiles, mean, and spread for every group you enter.

Optional title displayed above the chart

Label for the vertical (value) axis

Label for the category axis

Enter numeric values separated by new lines. Non-numeric values are ignored.

Optional second group for comparison

Optional third group

Optional fourth group

Tukey's method flags values below Q1−1.5×IQR or above Q3+1.5×IQR as outliers

Results

Groups Analyzed

--

Group 1 — Median

--

Group 1 — IQR

--

Group 1 — Mean

--

Group 2 — Median

--

Group 2 — IQR

--

Group 2 — Mean

--

Group 3 — Median

--

Group 4 — Median

--

Distribution Summary by Group (Median & IQR)

Results Table

Frequently Asked Questions

What is a violin plot?

A violin plot is a data visualization that combines a box plot with a kernel density estimate (KDE). It shows the full distribution of a dataset — including the median, interquartile range, and the probability density of the data at different values. The wider sections of the 'violin' shape indicate where more data points are concentrated.

How is a violin plot created?

A violin plot is built by first computing standard box plot statistics (Q1, median, Q3, whiskers) and then overlaying a mirrored kernel density estimate on each side. The density estimate smooths the raw data into a continuous curve showing where values are most likely to occur. This tool calculates all of these from your raw numeric inputs.

When should I use a violin plot instead of a box plot?

Use a violin plot when you want to see the full shape of your data's distribution, not just the summary statistics. Box plots can hide multimodal distributions (data with two peaks) or skewness that a violin plot makes immediately visible. Violin plots are especially useful when comparing distributions across multiple groups.

What does the IQR mean in the results table?

IQR stands for Interquartile Range — it is the difference between the 75th percentile (Q3) and the 25th percentile (Q1). It represents the middle 50% of your data and is a robust measure of spread that is not affected by outliers. A larger IQR means more variability in the central portion of your dataset.

What is Tukey's outlier exclusion method?

Tukey's method defines outliers as any values that fall below Q1 − 1.5×IQR or above Q3 + 1.5×IQR. When you enable outlier exclusion, these values are removed before computing statistics and drawing the violin shape. This helps you see the core distribution without extreme values distorting the plot.

How many groups can I compare at once?

This tool supports up to four groups simultaneously. Each group can have its own label and dataset. Groups with no data entered are automatically excluded from the analysis and chart. For best readability, keeping comparisons to two or three groups is recommended.

How much data do I need for a meaningful violin plot?

A violin plot is most informative with at least 20–30 data points per group. With fewer than 10 values, the density estimate becomes unreliable and the violin shape may be misleading. The median and IQR statistics remain valid for any sample size, but the distribution shape requires adequate data to be interpretable.

What data format should I enter?

Enter one numeric value per line in each group's text area. Commas, spaces within a line, or non-numeric text are ignored automatically. Decimal numbers (e.g. 3.14) are fully supported. You can also paste a column of numbers copied directly from a spreadsheet.

More Statistics Tools