upload data and a graph is created