Updated the graph to handle higher than 10 max values