How can I address the “Uncaught Error: No DOM element with id ‘plotly-54a31d63-8ed7-456c-a42a-2aefb588db0e’ exists on the page” issue when attempting to update a graph every second with new data points? Are there any alternative solutions or recommendations from the community to resolve this problem?
I’m not sure what setup you currently have. I run plotly in Nuxt Vue app, using nuxt-plotly, in case somebody have similar error, the solution is to downgrade its version to 1.0.12 and the error is gone
https://github.com/MateuszStawski/trivia-frontend/tree/main/pages/statistics.vue