The equation of a line is graphed by finding the x- and y-intercepts and then plotting those points on a Cartesian plane.