How to Overlay Density Plot on a Map of Alaska using ggplot2 and sf in R?
I’m trying to plot a density map of some randomly generated points in Alaska using ggplot2 and sf. I want to overlay the density on a map of the USA including Alaska. However, I am unable to make geom_density work on my map. Here is what I have done so far: