Realization of discrete percentage filling of data Map by R language Visualization
This article introduces the knowledge of "R language visualization to realize discrete percentage filling of data map". In the operation of actual cases, many people will encounter such a 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!
Today I would like to share with you how to fill discrete segmented data maps in percentage form.
The case uses the geographical data of three provinces and two cities around the Bohai Sea.
Library (ggplot2)
Library (maptools)
Library (plyr)
Data import, transformation, extraction
CHN_adm2