Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! ✅Check out the new docs.

Does plotly support animating pie chart and bar chart?

Hello,

I’m trying to achieve with Plotly the effect at the beginning of this video
https://www.youtube.com/watch?v=ThCUMeFnEuA

but I played around with the pen from plotly’s animation doc, I couldn’t get it to work
https://codepen.io/p1ho/pen/LgRqRx

Can someone please let me know if this is not supported or I’m doing it wrong?
Thanks in advance!

P.S. I played around with bar graph and animation for it also didn’t work.

EDIT: I just realized that this is probably not the smartest question, since the underlying graphics are SVG based, but I thought it might be possible for bar graphs because the shape change is relatively simple.

EDIT-2: Looks like it might be here soon! This is exciting! https://github.com/darabos/plotly.js/pull/2

1 Like