made arrays for parsing years and values to the graph