An option to hide 0% text on pie charts
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
Please look at this example:

Here, the two 0% texts make no sense. It's getting even worse if there are many options. They just get stacked vertically and take a lot of space and look ugly.
An option to switch off showing zero-percent texts on pie charts would be very hepful.
Please note it's not the same as toggling pie slices when clicking on legend items, in which a case the opacity of those hidden legend items become 0.5 instead of 1 (default).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named in the issue. Start by locating the pie-chart text rendering and existing chart options, then verify that a new option can suppress only 0% labels while preserving other labels and remaining distinct from legend-item toggling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100