Visualization Error

Hi everyone,
I am trying to visualize a bunch of numbers as a pie-chart-like figure. The problem is that I saw some visualization errors as is circled in the attached image. I am wondering if anyone could help me with what can I do to not have these problems.
The thing is when I change the numbers it works but am not able to change the numbers and they must be as they are.

Hope that everything is clear.

Thanks in advance for the help.

Hi @mhaghan , you need to upload your gh definition for anyone to be able to help you. It’s very hard to guess what is going on without having a look at the whole definition.

Hi @ign24680 ,
I attached the file here.
20210905.gh (21.1 KB)


What about this?
20210905_ign.gh (32.3 KB)

2 Likes

You can also get rid of the extra item using shortestList component.


PieChart.gh (10.7 KB)

1 Like