I wrote down a function in my code that updates the data array with user input. Data array is used to construct the bar graph in my code. Currently, my data array in the cha