How to realize the mini bar chart on the map in R language
This article introduces the relevant knowledge of "how to realize the mini bar chart on the map in R language". In the operation of actual cases, many people will encounter this dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Load package:
Library (maptools)
Library (ggplot2)
Library (plyr)
Library (ggmap)
Import map material and longitude and latitude data of provincial capital cities
China_shp