Nivo charts behaving differently under streamlit when compared to typescript

I am currently trying to build a circles packing custom package for my app and ran into some trouble. I want the animate behaviour to work which works under this sandbox (if you just change the numbers of the value keys you will see what I mean) but under streamlit, it does this:

ezgif.com-gif-maker (2)

Could someone please offer some assistance as to why the animation is not working in the streamlit environ but it does under the typescript environ in the codesandbox?

Thanks