Making WordPress.org

Opened 7 years ago

Last modified 5 years ago

#3741 new enhancement

Show percentages in legend on Stats page

Reported by: garrett-eclipse's profile garrett-eclipse Owned by:
Milestone: Priority: normal
Component: General Keywords:
Cc:

Description

Hello,

I love this page - https://wordpress.org/about/stats/
But find it difficult to determine the tiny slices. Would be nice if the legend provided the percentage in braces beside each item. Saves having to hover over slices and try to find your tiny sliver.

Cheers

Attachments (1)

Screen Shot 2018-08-02 at 2.10.39 PM.png (61.5 KB) - added by garrett-eclipse 7 years ago.
Stats with tiny sliver

Download all attachments as: .zip

Change History (4)

@garrett-eclipse
7 years ago

Stats with tiny sliver

#1 @obenland
6 years ago

Does it really matter? :) I think the sliver does a good job conveying that these versions have very little adoption. If it's 0.1% or 0.2%—how important is it to know the difference?

If it is important, I think it is reasonable to hover over them.

#2 @garrett-eclipse
6 years ago

Thanks @obenland

Not a huge issue no, I just found it near impossible to trigger hover on the smaller slices as their area was negligible. And in many cases there were multiple similar colours which made it hard to figure out where to hover to get the extra information. So had opened the ticket to remove the annoyance all together as I would just use the legend if it had the percent within it and not bother with the graph at all. As well on mobile those slivers are even more difficult to click.

With that being said I support either choice you make.
Cheers

#3 @dufresnesteven
5 years ago

I agree that there is value in seeing the percentages and hovering over them isn't an easy task.
Additionally, you aren't the only one with that feedback.

It's logged in the google charts project:
https://github.com/google/google-visualization-issues/issues/773

I looked into the library to see if we could trigger the tooltip and slice selection on legend hover, but that doesn't appear possible through their official API. Adding the percentages to the legend introduced some redundancy in the tooltip that wasn't great.

I'm wondering if we should move more towards showing the data table as proposed here: https://meta.trac.wordpress.org/ticket/4891.

Note: See TracTickets for help on using tickets.