text only used for leaves not "branches" in treemap
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
When trying to use text attribute for treemap, only the leaves will show the designated text when textinfo = "text". The "branches", the element other than the lowest level leaf, will show labels value instead of text values.
Example:
https://codepen.io/deecay/pen/QWYVVMK
I expected treemap to replace "Eve" with "B", "Seth" with "C", etc.
What I was trying to do was, to use ids as labels and parents, and display the readable names of objects from text.
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 CodePen reproduction and trace treemap handling of the text attribute when textinfo is "text". Done means branch nodes display their designated text values instead of their labels, while leaf behavior remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100