I know the first plot is correct. What about the second one? Isn’t that how the plot for KMeans++ algorithm looks
KMeans algorithm plots
Hey @samriddhijain2000, the second plot is correct, when we are trying to optimized two parameters. In detemining the 5 centers for the clusters, we are dealing with a similar situation, for every center there are 2 points names its x coordinate and y coordinate, After every epoch we update both these coordinates. As we update, you can see here we are optimizing two parameters at a time.
Hope thisr resolved your doubt.
Plz mark the doubt as resolved in my doubts section 
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.