switched raw graph to a line graph