When one coordinate never changes
In the relation y = 2.5, the output is 2.5 no matter what x is. The points (-3, 2.5), (0, 2.5) and (4, 2.5) all fit, so the graph is a horizontal line crossing the y-axis at 2.5. Its rate of change is 0.
In x = -1.5, every point has x-coordinate -1.5: (-1.5, -2), (-1.5, 0), (-1.5, 3). The graph is a vertical line crossing the x-axis at -1.5.
Two special cases: y = 0 is the x-axis itself, and x = 0 is the y-axis itself.