How can i create a animated time series line plot

Hello All, I am trying to create a time series line plot with I have a signal and i want to see its trend over time with some animations(The line should move over time) I am trying with the following code but i don’t see anything except the empty animated plot.
The code i am trying:
fig = px.line(data, x=‘Date’, y=“signal”,line_dash=‘signal’,animation_frame=“signal”,
animation_group=“Month”, range_y=[25,90])

I am new to plotly and trying really hard to get this. Looking forward for some help

1 Like