violin plots should not exist

289K views · 3 years ago · explainer · intermediate · evergreen

Physicist Angela Collier explains, in an extended rant, why she thinks violin plots should not be used to show data. It is a critique of one chart type and what it fails to show.

HN people share it as the best rant against violin plots, and one says it finally explained why they never liked them.

“Here is a great rant (borderline lecture) from Angela Collier”

5 comments from Hacker News

j
@j_bum2024 · in “I've stopped using box plots (2021)”
I disagree about violin plots being better. Here is a great rant (borderline lecture) from Angela Collier on why they aren’t [0] [0] ▶ this video
RecommendsView on HN
k
@karmakaze2024 · in “I've stopped using box plots (2021)”
> There are other distribution chart types that can be useful in specific situations, such as frequency polygons, violin plots, cumulative distribution plots, and bee swarm plots, but the three types that I described above are the easiest ones to grasp, and are able to communicate most of the insights that are needed for day-to-day decision-making in most organizations. (I’m not mentioning histograms here because they’re generally only useful for visualizing a single set of values, whereas box plots and their alternatives are for visualizing multiple sets of values, which is a different use case.) There's generalizations and 'specific situations' which the author considers worthy of some plots, and other specific situations that the author doesn't consider worthy of other plots. At best, don't use box plots if your distributions do not have a single mode and may likely be misinterpreted is my takeaway. Here's a rant against violin plots by my fave physicist ranter[0] (not Sabine), so maybe never use them. [0] ▶ this video
RecommendsView on HN
b
@bjoli2023 · in “Friends don't let friends make bad graphs”
I have never liked violin plots,but I am very much not in the field of data visualisation. Just a week ago I stumbled on a video titled "violin plots should not exist" which made things fall into place: ▶ this video
RecommendsView on HN
x
@xqcgrek22023 · in “Violin plots should not exist [video]”
Submitted the video to Hacker News.
RecommendsView on HN
s
@seanhunter2026 · in “Plotnine”
Plotnine has been great in my usage, but I see violin plots on the front page. Just say no to violin plots. In almost any situation you either want to talk about the actual distribution (in which case plotting the distribution on one side of the line arranged horizontally is significantly superior to plotting it vertically on both sides of the line for some reason as a violin plot does[1]) or you want to talk about the quartiles etc in which case a boxplot is better. A violin plot tries to do both and as a result does them both badly. Extended anti-violin plot rant here ▶ this video [1] I remember in one meeting before I knew better, producing some violin plots and putting them on a slide and I knew I had gone wrong when that slide came up and everyone in the room had this confused expression on their faces and was leaning their head over to the side to try to see the distribution better. When your visualization produces obvious confusion like that, you can be completely certain it has failed.
CitesView on HN