Improved scaling for D3 scatterplot