U.S. State Cartogram Heatmaps in R; an Alternative to Choropleth Maps for USA States

Cartogram heatmaps are an alternative to choropleth maps for USA States and are based on work by the Washington Post graphics department in their report on "The states most threatened by trade". "State bins" preserve as much of the geographic placement of the states as possible but has the look and feel of a traditional heatmap. Functions are provided that allow for use of a binned, discrete scale, a continuous scale or manually specified colors depending on what is needed for the underlying data.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.2.2 by Bob Rudis, 3 years ago


Report a bug at https://github.com/hrbrmstr/statebins/issues

Browse source code at https://github.com/cran/statebins

Authors: Bob Rudis (@hrbrmstr)

Documentation:   PDF Manual  

Task views: Analysis of Spatial Data

MIT + file LICENSE license

Imports ggplot2, grid, gridExtra, scales, RColorBrewer

Suggests testthat

See at CRAN