The first thing we're doing here is to make sure we know how the "plt" works.
In the following picture, we can see that the data are identical, but the color of the class got messed up.
Why you need to standardize your data before fitting a ML model? It is because variables are measured at different scale. They might end up creating a bias.
In this example you might think the "Number of Households" isn't important. Every data is about the same, there is no point analyzing it. (Left)
But it turns out that people have medium number of households tends to have higher income. (Right)