React-plotly.js scatter3d animation

Hello everyone!

I’m using react-plotly.js to create a scatter3d plot and I want to make it rotate/animate/transition continuously. Right now it is static and I can only rotate it maually.

I searched for this on many different websites (plotly, stackoverflow, github, others) and I didn’t find anything useful. I need a solution for React, not Vanilla JS, please, but if this can be achieved by a combination of React + JS, let me know.

I need to achieve something like this: scatter3d plot animation gif

Thank you very much and best regards!