Large time-series datasets too large to update figure

Hello everyone,
As title, I have a large datasets with a dataframe(the data size: 953464 bytes)

I used dcc.Interval to update a line graph which implements by go.Scatter. It takes a long time to generate a line figure, while only using few seconds in the next interval figure update.

dcc.Interval(id=‘dataframe-clock’,
interval=60*1000, # in milliseconds
n_intervals=0)
fig = go.Figure()
fig.add_trace(go.Scatter(x=final_df.index, y=final_df[tmperatrue_set], name=‘Temp_SET’,
line=dict(color=color[‘tmperatrue_set’], width=2)))

Thanks in advance.

Best regards,