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

Pie chart (add totals for each item) #1648

Closed
dxcore35 opened this issue Aug 25, 2020 · 2 comments · Fixed by #2051
Closed

Pie chart (add totals for each item) #1648

dxcore35 opened this issue Aug 25, 2020 · 2 comments · Fixed by #2051

Comments

@dxcore35
Copy link

Add totals in the right either in first style or second style, or both (with change in argument)

pie

@dxcore35 dxcore35 added Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request labels Aug 25, 2020
@Kristinita
Copy link

Kristinita commented Nov 4, 2020

Type: +1 👍

Argumentation

I want to use Mermaid pie charts to show statistics where is such a thing as sample size.

For example, the statistics books as “How to Lie with Statistics” provide examples, how to manipulate statistics:

Percent bar chart

Absolute values

The first graph looks solid. But it’s clear from the second graph that the sample size is small and can’t be used for broad generalizations.

It would be nice to always specify the sample size to let readers know the background data of the research. It would be nice if it would be possible automatically.

Thanks.

@ashishjain0512
Copy link
Collaborator

@dxcore35 Really good suggestion. I am working on this, and will make it driven by a configurable property showData, to render the actual data values after the legend text, so that users who can turn on/off as per their requirement.

@knsv knsv closed this as completed in #2051 May 7, 2021
knsv added a commit that referenced this issue May 7, 2021
@github-actions github-actions bot locked and limited conversation to collaborators May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants