Z line in <C1_W3_Lab06_Gradient_Descent_Soln>

Can I know what is Z line? how it be generated?
I guess it is Z=Wx+b?

Yes, z = wx + b.
The y values are plotted, they are sigmoid(z).
The best w and b values are learned via gradient descent, starting from the initial w and b values.