Which of the following describes the graph of a linear function?

A) It is a curve that lies in only two quadrants.
B) Its y-values decrease at a constant rate as its x-value increases.
C) It is a straight line in one portion and a curve in another portion.
D) Its y-values increase at a nonconstant rate as its x-value increases.