y = 0 . . . . is the equation of the line.
_____
The line shows y to have the same value for every value of x. Thus the value of y is a constant, and there is no dependence on x at all. This is true for any horizontal line. Here, the constant value is zero, so the equation is ...
... y = 0