Scatterplot functionality - complete