nextcloud / nextcloud/polls

Pie chart about poll results - an alternative overview

Open
#1,444 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

UX
Dominant language
JavaScript
Stars
284
Forks
91
Avg merge
4d 3h
Merged PRs (30d)
50

Description

We started to use the poll but somehow we miss an easy to understand poll results view, for example a pie chart.
Probably a Pie chart could be an easy way to overview the entire poll in a small screen, too, while it is easy to read and understand for everybody.

Here you can see an example, just to show my idea:
piechart

The answers could be numbered and the Legend could contains the following:
colored box, # of the option, votes of this option, percentage

Example (sketch):
legend_sketch

As we use long options sometimes, the Legend should contains only the serial number (id) of the option, maybe the text of the option could appear in a tooltip when the mouse pointer is on the option.

What do you think?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the poll results view and the entry point that renders its current overview. Use the linked pie-chart and legend sketches as the requirements; the work is done when results have a readable pie-chart overview with numbered options, vote counts, percentages, and the requested handling for long option text.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.