title: How do I create a continuous density heatmap of 2D scatter data in R?
body: <p>I can generate a density plot of 1D data with:</p>
  
  <pre><code>qplot(mydatapoints, geom='density')
  </code></pre>
  
  <p>I've also seen plenty of examples of heatmap grids, but these are more akin to histograms for 1D data in that data goes into discrete buckets instead of showing a smooth curve.</p>
  
  <p>Can I plot something similar to the 1D density but for 2D data, with (say) something like hue/saturation/lightness to represent the density?</p>