The independent variable in the experiment you described is:
B. The amount of water given to each plant.
The independent variable is what you manipulate or change in an experiment to see how it affects the dependent variable, which is the growth or height of the plants in this case.