The animation now working for the line graph
The graph now renders on initialisation.