Look at the graph below.

A graph shows the price of pumpkins in the number of crates on the x-axis and the total price in the dollar on the y-axis. A line starts from the origin and passes through the graph.

Based on the graph, which of the following statements is true?

A.
The total price depends on the number of pumpkins.
B.
The total price depends on the number of crates.
C.
The number of pumpkins depends on the total price.
D.
The number of crates depends on the total price.

B. The total price depends on the number of crates.