Hii there!
Okay so the independent variable is the one that will not be affected by the other variables but is in turn what we use to affect the others. In this experiment, the independent variable is the temperature of the ball given that this value does not depend on any of the other variables of the experiment.
Thus, your answer will be D. the temperature of the ball.