I've been trying to perform a visualization with Plotly, but my problem is that I need it to be dynamic. Meaning if I have the code:
import plotly.express as px
data = [1, 5, 4, 7, 5, 2, 3, 9]
data_2 = [1, 2, 3, 4, 5, 6, 1, 5]
area_chart = px.area(data, title='Title')
area_chart.show()
then how do I append 'data_2' to 'data' so that the numbers from 'data_2' appear dynamically on the chart after it's created every 0.5s?
