Videos
What is the floor function example?
What does floor function do?
How do you write a floor function?
The graph is a little misleading. It only includes the "flat" parts, not the "diagonal" segments connecting them.
The complete graph is the union of the horizontal half-open segments
$$\left(\bigcup_{n\in\mathbb{N}}[n^2,n^2+n)\times\{n\}\right)\cup\left(\bigcup_{n\in\mathbb{N}}(n^2-n,n^2]\times\{-n\}\right)$$
The first union comprises segments above the x-axis, and the second comprises those below the x-axis. As you move to the right, each segment is one unit longer and one unit higher (lower, for segments below the x-axis) than the previous segment. There is a longer and longer gap between segments. Ignore the diagonal "connectors" in your graph and it is right.
floor(x/y) is the integer $n$ satisfying:
$$n \le \frac{x}{y} < n + 1$$
If $n = y$, then:
$$y \le \frac{x}{y} < y + 1$$
If $y > 0$, then:
$$y^2 \le x < y^2 + y$$ $$\frac{-1 + \sqrt{1+4x}}{2} < y \le \sqrt{x}$$
If $y < 0$, then:
$$y^2 \ge x > y^2 + y$$ $$y^2 + y < x \le y^2$$ $$-\sqrt{x} \le y < \frac{-1 - \sqrt{1+4x}}{2}$$
So, you get a graph that's similar to $y = \pm \sqrt{x}$ (with both positive and negative branches), except that $y$ takes on only nonzero integer values.