Small sectors in pie chart render incorrectly (Chrome / Linux)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
If a pie chart has a sector that is vanishingly small, the sector may be rendered with a completely incorrect position and size (not even concentric to the rest of the plot).
This seems to occur only on Chrome and Chromium (tested on versions 80.0.3987.149 and 80.0.3987.87, respectively). I'm running Linux (KDE Neon, which is Ubuntu-based), and could not reproduce this on Windows using Chrome or Firefox.
Expected result (shown here with Firefox):

Actual result when viewed in Chrome or Chromium on Linux:

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
Start with the linked jsfiddle demo and reproduce the pie-chart rendering difference in Chrome or Chromium on Linux, comparing it with Firefox. Trace the pie-chart rendering path from the reproduction; done means vanishingly small sectors have the correct position and size and remain concentric with the rest of the plot.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100