Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing visualization of score poll when allowing negative ratings #8395

Open
despens opened this issue Feb 11, 2022 · 12 comments
Open

Confusing visualization of score poll when allowing negative ratings #8395

despens opened this issue Feb 11, 2022 · 12 comments

Comments

@despens
Copy link

despens commented Feb 11, 2022

When running a score poll and allowing for negative numbers, the chart drawn as a result is showing the option with the most negative rating as the largest block, according to "% of points".

My sense is that users would assume a negative rating to express that something is undesirable and that this option would be drawn as a smaller block rather than a larger one. The "% of points" assigning a negative value to options that have received positive score is surprising. Additionally, the order of options rendered appears like looking at the tail of results.

Screenshot-20220211081953-1089x659

The thumbnail visualization of the same poll highlights the option that received the most positive ranking as the largest, but at the bottom of the stack.

image

In general that type of horizontal bar graph representation seems more adequate than the full-size single horizontal stacked bar graph drawn in full view, at least when negative scores are allowed in the poll.

I would suggest to

  • highlight the option with the most positive ranking as largest in size and order from most positive descending,
  • draw the results as a horizontal bar graph,
  • offer an optional view ordering by "most controversial", highlighting options where the rankings assigned by voters have the largest breadth in between negative and positive votes.
@robguthrie
Copy link
Member

Hi @despens thanks for taking the time to explain this. I've not done much testing with negative value score polls to date.

It's quite broken eh.

Thanks for all these actionable suggestions too.

I'll find some time to fix the results table with negative values. I'm intending on making the chart type used for a poll selectable in the future. But I agree were going to need a stacked bar chart that can handle having both negative and positive values.

My workload is full right now, but I'll come back to this in a few weeks.

@robguthrie
Copy link
Member

hi @despens - the next release of Loomio will have bar graph next to each option in the table and "% of votes" is removed for score poll.

I'm not totally sure what the right way to represent positive and negative scores is with bars. Do you think negative goes left and positive goes right, with 0 in the center.. or does the lowest value (possibly negative) become the left value (previously 0) and the highest on the right?

@despens
Copy link
Author

despens commented Mar 29, 2022

I thought the best visualization would be a bar chart in which the negative score is expressed below the x axis:

image

This is able to express "controversy" for options that receive both positive and negative votes that cancel out, but can show where further discussion needs to happen.

I know this looks difficult to implement as it would require some kind of legend on the chart as labels would be oriented orthogonal to the bars, and horizontal scrolling for polls with more than a few options.

To stack the bars on top of each other would seem to make sense, but there is a weird effect in which the classic coordinate system logic of "left below 0, right above 0" looks wrong, because the lowest entry will probably have the largest amount of negative votes:

image

Positive votes on the left and negative on the right looks more logical, at least to me:

image

It might be confusing to users, would need to be tested. Perhaps the reduced color saturation in the negative direction helps to express the "mirrored x-axis" here, because in reading direction first the "full color" is introduced, and then a "lesser" version of it comes along.

@robguthrie
Copy link
Member

I really, really appreciate this response.

It's unlocked my thinking about the problem - and energized me a little too.

I think I can make this work, even in our email templates... It's really not that complex once you have calculated the values you're after.

@despens
Copy link
Author

despens commented May 3, 2022

In the latest version 2.13.1, score polls with negative rating don't show any visualization at all:

Screenshot-20220503140505-778x527

(Screenshot from the same poll as in the original bug report.)

@robguthrie
Copy link
Member

robguthrie commented May 4, 2022 via email

@robguthrie
Copy link
Member

Hi @despens - this is a proof of concept I've just made. It's using randomly generated data, so there isn't trends like you might see with real vote data.. but.. what do you think?
image

@robguthrie
Copy link
Member

Here it is in emails: I think it's better when consecutive scores are continuous:
image

@robguthrie
Copy link
Member

I expect real vote data will make a big improvement

@robguthrie
Copy link
Member

Maybe we need the scale at the top, too. -5 to 5

@despens
Copy link
Author

despens commented May 5, 2022

I would suggest to

  • add a line representing the 0 axis
  • label the leftmost and rightmost score
  • allow to see how many users and who exactly scored in a certain way on cursor hover
  • place the score rectangles on some kind of very light background to avoid them to be read as "columns" too dominantly; even with the continuous plots i think the eye is drawn towards a top-down reading, or trying to "draw lines" in between rectangles that stand out because of higher contrast etc. (sketched only in the top 4 rows here)

vote

Indeed the email display looks more legible without the gaps in between the scores.

I think that already might be a great improvement! Perhaps using a higher brightness contrast for the rectangles versus the background would be good.

@robguthrie
Copy link
Member

Thanks for the feedback.
I wiill add the upper, mid-point and lower range numbers across the top.
I'll clean up the design like you've suggested.
I'm not seeing how I can add a line down the middle (it's just tables in tables).. so I'll leave that out for now.
And I can probably add alt-text if you hover over a square to show the count and score.

But to see who voted what, we may as well make an option to change the chart type to what we use for meeting poll. Which is users across the top and options down the side, and what value they gave each option.

Infact, in the next big revision I hope to make it so that you can choose the chart type for your poll. So you can choose between bar chart, frequency chart (this), and individual weightings per user (meeting grid).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants