Created a dynamically changing line graph.