scatterplot implemented, to be tested now