Sarah performs an experiment to see whether bees prefer red flowers or yellow flowers. Look at this table of results from the experiment.

What is the independent variable in this investigation?
A. time
B. color of flower
C. total number of bees
D. number of bees at each flower