News for hackers. Stuff that matters.
Re:Almost never use a pie chart for data by brightball on Monday January 08, 2024 @10:06AM (#38912953)
I'm glad they explain that beyond 2-3 data points is the problem here. I'm working on an interface that will us a lot of pie charts, but they are all representing 2-3 distinct things.
Re:Almost never use a pie chart for data by cyberninja15 on Monday January 08, 2024 @11:58AM (#38914846)
Generally agreed. I think 4-5 data points is fine, but the advantage of pie charts is that it's a quick visual representation of what proportion of the 100% can be attributed to the 4-5 segments.

Pie charts fail again once the distribution is very skewed (1 segment = 99% and the other 3 shared 1%). It also fails when the distribution is too even (5 segments 20% each). They shine the most when there is variance, but overall easy to interpret the distribution differences.

Re:Almost never use a pie chart for data by codr7 on Monday January 08, 2024 @10:22AM (#38913196)
Edward Tufte is highly recommended on the topic.

It's not a hard rule, more encouragement to investigate ways to make the presentation more informative by relating the data to it's context, time etc.

A pie chart is one-dimensional, quantities period.

Re:Almost never use a pie chart for data by syndicatedjelly on Monday January 08, 2024 @01:34PM (#38916093)
His book "Envisioning Information" was very influential for me.
Re:Almost never use a pie chart for data by thesumofall on Monday January 08, 2024 @10:20AM (#38913177)
I would still argue that a stacked horizontal bar with tick marks or a waterfall chart are often the better solutions. They also make it easier to provide a reference point for the absolute sum of all data points

I think pie charts only work in those cases where it doesn’t really matter how big individual data points are, but where one only wants to give a feel for the relative weight of 2 (max 3) data points. But then: wouldn’t a simple KPI (“55%”) suffice?

Re:Almost never use a pie chart for data by xnx on Monday January 08, 2024 @10:34AM (#38913399)
Stacked bar charts have the same weakness as pie charts where it is very difficult to tell the relative sizes of the pieces.
Re:Almost never use a pie chart for data by maroonblazer on Monday January 08, 2024 @10:09AM (#38913007)
I'd argue even 4-5 things can still be ok given they're significantly (enough) different sizes. Recently I needed to show how our online revenue was split between 5 different products and the pie chart worked perfectly.
Re:Almost never use a pie chart for data by xnx on Monday January 08, 2024 @10:35AM (#38913428)
With favorable numbers pie charts can be readable, but what makes them better than a bar chart?
Re:Almost never use a pie chart for data by maroonblazer on Monday January 08, 2024 @10:55AM (#38913783)
At least to my brain, showing 'parts of a whole' is easier to intuit in a pie chart than a bar chart. Again, the caveat being there aren't more than 4-5 parts and the sizes are different enough.

That said, I'm now interested in asking around the office to see what others think. Maybe I'm an outlier and should switch to bar charts.

Re:Almost never use a pie chart for data by loonster on Monday January 08, 2024 @09:33PM (#38921534)
Pie charts shine when there several data points that can be grouped into 2-3 macro groups.

The easiest example is "What is your opinion of ___?" (Strongly Favorable, Somewhat Favorable, Neutral, Somewhat Unfavorable, or Strongly Unfavorable)

At a glance, you can see if the opinions are positive or negative, and then can see if they are polarizing or mostly neutral.

Another example would be the makeup of congress. Democrat, Independent, and Republican for the major groups. Subgroups could be based on percentage of votes the person received from their district. It would show which seats could swing.