draw a simple line graph