How to make a violin plot
-
Paste your data
Paste cells from a spreadsheet or upload a CSV with a number column for Value, plus a text column for Group if you have it.
-
Check the columns
The violin plot picks its columns for you. Change any of them under Data.
-
Style it and download
Under Style, pick a look, colours, background and size, add a title and source, then download SVG or PNG.
What is a violin plot?
A violin plot draws a mirrored density curve for each group, so the width at any height shows how common values are there, with the middle half and median marked inside.
How to read it
Wider sections mean more values at that level, and a waist between two bulges means two clusters. The thick inner bar is the interquartile range and the ringed dot is the median.
When to use it
Compare the full shape of each group, including two peaks. It is one of the distribution charts, which show how values spread out, cluster and stray.
For small samples the smoothed curve misleads, so show the raw values with a Beeswarm or Sina plot. For an audience unfamiliar with densities, a Box plot is quicker to read.
Tips for a better violin plot
- Use it with at least 30 or so values per group, since density curves from tiny samples invent shape that is not there.
- Keep every group on the same value axis so widths and heights compare fairly.
- Limit it to roughly eight groups or fewer before the violins get too thin to read.
Data you need
One row per item with a number column for Value, plus a text column for Group if you have it. Column names can be anything; the chart maker matches columns by type, and you can change the match under Data.
| Region | Load time (s) |
|---|---|
| Europe | 2.03 |
| Europe | 2.00 |
| Europe | 2.10 |
| Europe | 2.10 |
| Europe | 3.23 |
| Europe | 2.20 |
| Europe | 1.95 |
| Europe | 2.39 |
Other charts for the same data
More distribution charts
Questions, answered
- What is a violin plot?
- A violin plot draws a mirrored density curve for each group, so the width at any height shows how common values are there, with the middle half and median marked inside.
- How do you read a violin plot?
- Wider sections mean more values at that level, and a waist between two bulges means two clusters. The thick inner bar is the interquartile range and the ringed dot is the median.
- How do I make a violin plot?
- Paste your data into the chart maker with a number column for Value, plus a text column for Group if you have it. The violin plot draws as you type. Then pick a look and a size and download it as SVG or PNG.
- When should I use a violin plot?
- Compare the full shape of each group, including two peaks. It belongs to the distribution family of charts, which show how values spread out, cluster and stray. For small samples the smoothed curve misleads, so show the raw values with a Beeswarm or Sina plot. For an audience unfamiliar with densities, a Box plot is quicker to read.
- Is this violin plot maker free?
- Yes. It is free with no sign-up, your data stays in your browser, and you can download the violin plot as SVG or PNG.