Move and rescale the data points when the SVG size changes.