# Violin Plot Maker

The violin plot maker generates a violin chart.
Enter data in columns
Enter data from excel
Press Enter after each value, and you may also add more delimiters by clicking on 'more options. .
The tool ignores empty cells or non-numeric cells.

## Violin plot generator

Click the "More Options" button to get more options. Some options, like "excluding outliers" appear only after generating the violin chart.
To download the plot as a PNG file, simply hover your cursor over the top right corner of the chart and click on the camera icon.

### Quartiles calculation for odd samples

When you have an odd sample, you may ask the question of how to split the sample into two. There are several valid methods to calculate the quartiles. Statskingdom usually uses option-1.

Following the options that this plot generator provides:

1. Inclusive - the median appears in both lists.
2. Exclusive - the median doesn't appear in either list.
3. Linear1 - the average of the previous methods, method #10 (“H&L-2”) listed on Quartiles in Elementary Statistics.

Another option to calculate the quartiles is to use the 25th percentile, 50th percentile, and 75th percentile; however, this option might yield slightly different results. You can use the percentile calculator for this purpose.

### Exclude outliers

The violin chart is not sensitive to outliers, but one extreme outlier may change the chart scale dramatically.
If you switch on the exclude outliers, it scales the chart nicely but loses the outliers.
The 'violin plot maker' filters out the outliers before generating the chart.

### Points

• Violin and Outliers - only outlier points, with k=1.5, appear on the chart.
• Suspected Outliers - the outliers appear as two types of points, suspected outliers, and outliers.
Outliers with k=3 appear as circle: ●.
Suspected outliers with k=1.5, appear as open circle: ○.
• No points - violin charts with no points
• All Points - shows all the data as points.

If you activate the 'Exclude outliers' option, the first three choices will yield the same results.

### More options for customizing your charts

When creating charts, you have the flexibility to customize various aspects to better suit your needs. Here are some of the options available to you:

• Title - the main header, with font size
• Chart orientation - you can choose between a vertical or horizontal chart.
• Box plot
• Visible - show boxplot.
• Invisible - hide boxplot.
• Mean line
• Visible - show mean line.
• Invisible - hide mean line.
• Border width - you can adjust the thickness of the box border.
• Category Axis - this is the axis that contains the categories.
• Value Axis - this is the continuous axis, choose the name, the minimum value and the maximum value
• Chart area - you can choose the color of the entire chart.
• Background - you can choose the color of the chart background.
• Legend - vertical ot horizontal.
• Data / Outliers: by default, the color of the data points and outliers matches the color of the data column. A mild outlier appears as an empty circle, while an extreme outlier appears as a filled circle. However, you can select a uniform color for all data points across all columns. The first color is for data or extreme outliers, and the second is for mild outliers.
For mild outliers, we use Tukey's Fences with k=1.5, and for extreme outliers, Tukey's Fences with k=3..
• Line color: by default, the lines color matches the color of the data column. However, you can select a uniform color for all the lines across all columns.
• Axis Lines: the category axis is located at the minimum of the value axis. By default, we don't show the axis lines. If you want to show them, you should change the field to 'Visible'. You can also change the color and the width.
• Zero Line: the zero line is located at the zero value of the value axis. By default, we don't show the zero line. If you want to show it, you should change the field to 'Visible'. You can also change the color and the width.
• Grid: By default, we show the grid. If you don't want to show it, you should change the field to 'Invisible'. You can also change the grid color and grid width.
• Font: you can customize the font type, size, and color for all labels.
• Mirror categories - you can reverse the order of the groups.
• Mirror axis - you can flip the axis to go from the maximum to the minimum value.
• Black and White - you can customize the chart to be black and white using the following buttons: B/W-1, B/W-2.
• Customize part of a label - you may use the common HTML tags to customize labels, like <i>text</i> for italic.

By utilizing these various options, you can create charts that are tailored to your specific needs and preferences.

### Reference

1. Eric Langford (2006) Quartiles in Elementary Statistics, Journal of Statistics Education, 14:3, DOI: 10.1080/10691898.2006.11910589