Сhart animation

How to animate a lineplot depending on the 3D scene?