Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. library(tidyverse)
  2. library(maps)
  3.  
  4. temp <- maps::world.cities %>%
  5. ggplot() +
  6. geom_point(aes(x=long, y=lat, size=pop, fill=pop, color=pop), alpha=.1, show.legend = FALSE) +
  7. theme_void() +
  8. coord_equal()
  9.  
  10. ggsave( temp, file="pop.png", dpi = 300, width = 20, height = 10)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement