plotly.js
plotly.js copied to clipboard
Broken text transitions for sunburst/treemap charts
This issue is described in the Icicle Plot Issue but in the context of an Icicle plot.
Reproducible Example
Check out the Basic Sunburst Example from the docs: https://plotly.com/javascript/sunburst-charts/#basic-sunburst-chart
https://user-images.githubusercontent.com/10369095/110998679-2fa51300-834d-11eb-9d80-79ffcc6102f8.mov
Describing the Bugs
- At the 3 sec mark, notice that
Awan
and a few other text labels disappears. - At the 9 sec mark, notice that
Awan
,Abel
andCain
are already located at their target X and Y, and that the text scales into view.
The reason I'm grouping these text labels together is because I suspect they are related. There are other more Icicle specific bugs I've noticed in https://github.com/plotly/plotly.js/pull/5546#issuecomment-797026819.
I was able to reproduce this on https://plotly.com/javascript/treemaps/ as well in some cases. MacOS/Chrome.
Similar issue found when using R plotly package. See this this issue for video and reprex