Created
September 7, 2015 14:30
-
-
Save rmnppt/101b93722eb7ad16b5bd to your computer and use it in GitHub Desktop.
uk cities with transparency mapped to population size
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(ggplot2) | |
library(magrittr) | |
library(dplyr) | |
library(maps) | |
data("world.cities") | |
world.cities %>% | |
filter(country.etc == "UK") %>% | |
ggplot(aes(x = long, y = lat, alpha = pop)) + | |
geom_point() + | |
coord_map() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment