How can i create a line graph that plots data based on the date it was submitted?