made a graph of the final data