One click to resize all selected rectangles based on values entered in the dialog for each of them. Each field refers to one bar/column in your chart.
Just be attempt to the fact this script only works with width. So, if you want to make columns chart, instead of bar, see here my daily usage of it. In the last update, the script is allowed to fullfill the dialog fields based on paragraphs of a text frame (so, of course, you must select the text frame AND the rectangles). To work properly, the text frame must have the paragraphs quantity exactly the same as the number of rectangles in the selection.