working d3 scatterplot