user can visualize approval distribution by circles #173
Labels
angular
Probably needs Angular-related skills
css
Probably needs CSS-related skills
feature
A new feature or enhancement
ready to implement
Sufficiently detailed to start working on --> place in "Issues"
svg
Probably needs SVG-related skills
typescript
Probably needs Typescript-related skills
Milestone
when clicking a special button next to "...% agreement" in the top of the poll page, the user is shown a popup with a venn diagram showing the percentage of participants that approve each possible combination of options, restricted to those options that receive a positive share.
the layout algorithm should be this: https://github.com/benfred/venn.js described here: https://www.benfrederickson.com/better-venn-diagrams/ (including the "normalization" part)
the circles should be semitransparent and have a darkness and z-coordinate which are both decreasing from most approved to least approved (same order as on poll page), so that it becomes clear that intersections "belong" to the topmost option. circles are colored in the same way as the sliders on the poll page.
in addition, each non-abstaining voter (or if these are more than 100, each percentage of the electorate) is depicted by a small stylized figure placed in the correct region of the diagram.
overall, it could look somewhat like this:
The text was updated successfully, but these errors were encountered: