K Nearest Neighbor Algorithm

The known points are colored, the mystery point is grey, and the result of the kNN guess is signified by the colored radius around the mystery point.

The radius encapsulates the 3 nearest neighbors. A new random mystery point is solved for every 5 seconds:

See the code!