Implement scatterplot using D3 scales