Learn R Programming

statebins (version 1.4.0)

Create United States Uniform Cartogram Heatmaps

Description

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.

Copy Link

Version

Install

install.packages('statebins')

Monthly Downloads

845

Version

1.4.0

License

MIT + file LICENSE

Maintainer

Last Published

July 8th, 2020

Functions in statebins (1.4.0)

statebins-package

Create United States Uniform Cartogram Heatmaps
theme_statebins

Base statebins theme
state_tbl

"State" abbreviation to name data frame
statebins

Create a new ggplot-based "statebin" chart for USA states/territories
geom_statebins

A statebins Geom