Visualising India's States







N.B.: Please allow longer compute time for cartograms.
Loading...
Mouse over map for hover and zoom effects.


The principal purpose of this shiny app is to demonstrate geospatial data visualisation in R. It accompanies a series of lessons on GIS in R, including mapping, found on the Social Cops blog. Steps for preparation of the data in this app using the tidyverse and sf packages are detailed there.

The geospatial boundary data comes from GADM. All of the political and economic data comes from Wikipedia.

The code for this app can be found on GitHub. In particular, it makes uses of the cartogram package for cartograms, the geogrid package for the hexbin, and ggiraph package for interactive geoms.

Other data projects by the author can be found at https://sean.rbind.io