$$f(z) = z^2 = (x+iy)^2$$
Remember that $a$ is a zero of the function if $f(a) = 0$, now
$$a= x_a + iy_a$$
Where $x_a$ and $y_a$ are real numbers
$$(x_a+iy_a)^2 = 0$$
$$x_a + iy_a = 0$$
Which is only possible when $(x_a,y_a)=(0,0)$ as $x$ and $y$ are real numbers, hence $a=0 + i0 = 0$ is the only zero of $f(z)=z^2$
In LibreText document (PDF), in fig 8.3.3, the point (x=0,y=0) in the z-plane gets mapped to (u=0, v=0) in the w-plane. The point from the z-plane which maps to (u=0, v=0) will be the zero of the mapping function.
Notice that the axis of the graphs in Fig 8.3.2 and 8.3.3 do not cross at the origin, which may be confusing you. Zeros are not defined by the fact that they touch an axis (the axis can be shifted as in your case), but by the fact that they make the function equal to $0$
Plotting
In the comments, you also asked for a plot. The plot is given in your LibreText document in Fig 8.3.3 for a set of grid lines. You have to understand that a plot for mapping all the set of points in the z-plane into the w-plane will be meaningless as almost all points in the w-plane will be plotted out, so it would look like a dark mess. The standard way to plot complex functions is by taking a set of grid lines in the z-plane and mapping them to the w-plane using the complex function.
You must realize that plotting works differently for complex-valued functions than real ones.
These plots are different from your plots of real-valued functions. The input and output are each 2 dimensional, hence you need 1 plot for input and 1 plot for output. Hence, you cannot determine the zeroes of the function just by looking at either plot.
The y-axis on each plot represents the imaginary axis and x-axis represents the real number line.