本文介绍了Cartogram + choropleth map in R的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我一直在使用ggplot2来创建一堆choropleths。我想知道是否可以使用ggplot2创建类似于此的地图(来自的精神,是否有人知道如何用R来做这件事?

cartogram ,可在CRAN上找到,具有您想要的橡胶板扭曲式cartogram。


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):

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?

解决方案

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

这篇关于Cartogram + choropleth map in R的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 14:28