Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
708 views
in Technique[技术] by (71.8m points)

ggplot2 - Cartogram + choropleth map in R

I've been using ggplot2 lately to create a bunch of choropleths. I was wondering if it was possible to use ggplot2 to create a map similar to this (from WorldMapper):

enter image description here

It's a choropleth where the shapefile polygons are distorted to represent relative population counts. I believe this is called a cartogram. They do this with a bunch of other variables. In the spirit of the Choropleth R Challenge, does anyone know how to do this using R?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The cartogram package, available on CRAN, has the rubber sheet distortion-style cartogram you want.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...