parse graph csv data