d3 scatter plot function.