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
DOI: 10.32614/CRAN.package.statebins
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 (arm64): statebins_1.4.0.tgz, r-oldrel (arm64): statebins_1.4.0.tgz, r-release (x86_64): statebins_1.4.0.tgz, r-oldrel (x86_64): statebins_1.4.0.tgz
Old sources: statebins archive

Reverse dependencies:

Reverse imports: ggmsa


Please use the canonical form to link to this page.