Working animated line graph with jagged lines