creates graph from user input csv file