vizuly / viz

Vizuly open source components
6 stars 4 forks source link

Sunburst diagram arc lengths for sub levels don't show correct relation of values #4

Open dwimberger opened 4 years ago

dwimberger commented 4 years ago

Environment Any modern up-to-date browser; point at: https://vizuly.io/product/sunburst/

Also reproduced with the demo from the codebase here.

Screenshot 2019-12-14 at 21 35 51

Both values are equivalent ($10.559.70 Million), but the visualisation would suggest one is only half of the other.

Expected Both have the same value and should have the same arc-length.

i.e. The visualisation (arc lengths) should show relations of amounts within the hierarchy to be useful.

twgonzalez commented 4 years ago

Hello Dieter,

You are totally right, I will need to look into this and see what is causing the issue here. But as you said, if the values are the same, the outer arc-length should match the inner one and cover the full 360 degrees.