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" (< http://www.washingtonpost.com/wp-srv/special/business/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.


News

Reference manual

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

install.packages("statebins")

1.4.0 by Bob Rudis, a year ago


https://gitlab.com/hrbrmstr/statebins


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


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


Authors: Bob Rudis [aut, cre] , Harold Gil [ctb] (fix for show.guide) , 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)


Documentation:   PDF Manual  


Task views: Analysis of Spatial Data


MIT + file LICENSE license


Imports ggplot2, scales, grid

Suggests viridis, RColorBrewer, covr, tinytest


See at CRAN