I have a largish dataset with ~ 30,000 data points and would like show both
the overall distribution of the data (eg using a 2D contour plot) and
highlight a subset of individual data points.
For example, I would like to combine a 2D histogram contour plot and highlight (only a subset of) data points as a scatter plot, similar to the python example on the plotly website.
Perhaps somebody has an example of how to achieve this with the R API as well? (The plotly examples also contain marginal histograms, which I donβt need.)