Requesting the graph data from the backend.