Which of the following represents the independent variable in the following hypothesis?

If diet affects weight, then people who eat less will lose weight.

A/diet
B?weight
D/people