statebins: 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.

Version: 1.2.2
Depends: R (≥ 3.0.0)
Imports: ggplot2, grid, gridExtra, scales, RColorBrewer
Suggests: testthat
Published: 2015-12-21
Author: Bob Rudis (@hrbrmstr)
Maintainer: Bob Rudis <bob at>
License: MIT + file LICENSE
NeedsCompilation: no
In views: Spatial
CRAN checks: statebins results


Reference manual: statebins.pdf
Package source: statebins_1.2.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Mavericks binaries: r-release: statebins_1.2.2.tgz, r-oldrel: statebins_1.2.2.tgz
Old sources: statebins archive