Scatter Plot Animation - Trouble Adding Trailing Lines

Thanks @empet for the response! This is super helpful. Do you by any chance have sample code that incorporates a slider into the visualization? We are hoping to plot two continuous/numeric variables on the X and Y, and then have a slider that can show the different X and Y values across different dates.

As per the link above, x = df.Date[:2], the x axis is measured by date. Do we have to reference a date value in the initial x and y values in order to link them up to a slider-by-date further on in the analysis?

Thanks so much again!

Matt