Not so many changes, exepted applied scale() function which allows to...scale:
to link the difference between smaller and greater x and y values to the width and height of the picture (window).
When the value is too important (what if you have a billion of beans?) it allows to "keep" it within the window.
The distribution is inverted: now, following some visual logic (this one is very important) the smaller values are placed closer to beginning on x and y axis.