statebins: Create United States Uniform Cartogram Heatmaps

The 'cartogram' heatmaps generated by the included methods are an alternative to choropleth maps for the United 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 have 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.4.0
Depends: R (≥ 3.5.0)
Imports: ggplot2 (≥ 2.2.1), scales (≥ 0.5.0), grid
Suggests: viridis, RColorBrewer, covr, tinytest
Published: 2020-07-08
Author: Bob Rudis ORCID iD [aut, cre], Harold Gil [ctb] (fix for, Brian Adams [ctb] (theme testing & feedback), Thomas Wood [ctb] (Significant suggestions & testing that made new features possible), Mathew Kiang [ctb] (Minor fix for NA handling)
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.4.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: statebins_1.2.2.tgz, r-oldrel: statebins_1.4.0.tgz
Old sources: statebins archive


Please use the canonical form to link to this page.