Piechart force to not order by pie size

Just add this line at the end:

fig.update_traces(sort=False, selector=dict(type='pie'))

1 Like