adding line graph visualisation