-
Notifications
You must be signed in to change notification settings - Fork 89
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
Node size is not showing correctly according to the size value #99
Comments
Without seeing your raw data, it could be that any element that has children should NOT have a size property. If parent elements have a size property, their node size will calculate incorrectly. It would be great if the sunburst could automatically discard a "size" property if a node has children. I used this code to disregard the size attribute if a node has children. |
So how would I go at it, if I wanted to divide my four root-segments into four equal parts? |
I suppose it would be even better if the size attribute was directly calculated against its parent irregardless of child nodes, but it seems that this tool does it the other way. So the issue request here should go something like this: Describe the bug: To reproduce: Hoped for behavior: I can't foresee a use case where a parent element should be larger than the combined size value of the children. |
Hi ! Here is my dataset:
|
Describe the bug
All node size now generate different size. But size respect ordering is ok.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Node size will be showing correctly according to the size value
Screenshots
The text was updated successfully, but these errors were encountered: