This is a simple way to create an interactive line graph. There is another way to create it which involves Draggable Elements instead but that requires a much more complex setup.
Go ahead and import the project in your account! By seeing the interactions you will realise how easy it is to recreate.
p.s not the smoothest animation but feel free to improve it