I've plotted point data of parakeet observations (fake for now) across the UK with the observations coloured by the population density of the area the observation was made in. I have a continuous scale bar as I want but the scale itself is awkwardly annotated. How can I plot it with more even dividers?
Here is the code:
############################ #PLOT OBSERVATIONS x POP_DENS ############################
ggplot() +
geom_polygon(data = UK, aes(x=long, y = lat, group = group), fill="gray14", alpha=0.7) +
geom_point(data=paratweets_4, aes(x=coords.x1, y=coords.x2, color=pop_dens, shape=Occupancy), size=2,stroke=FALSE) +
scale_color_viridis(option="magma", trans="log", name="Human Population Density (km2)") +
theme_minimal() + ylim(50,59) + coord_map() +
ggtitle("Parakeet Observations")