graphing a line with table of values