Adding canvas element, scaling it, creating canvas scales for point placement.