Square pie charts (a.k.a. waffle charts) can be used to communicate parts of a whole for categorical quantities. To emulate the percentage view of a pie chart, a 10x10 grid should be used with each square representing 1% of the total. Modern uses of waffle charts do not necessarily adhere to this rule and can be created with a grid of any rectangular shape. Best practices suggest keeping the number of categories small, just as should be done when creating pie charts. Tools are provided to create waffle charts as well as stitch them together, and to use glyphs for making isotype pictograms.

Documentation

Manual: waffle.pdf
Vignette: None available.

Maintainer: Bob Rudis <bob at rud.is>

Author(s): Bob Rudis*, Dave Gandy* (Font Awesome)

Install package and any missing dependencies by running this line in your R console:

install.packages("waffle")

Depends R (>= 3.2.0), ggplot2(>=2.0.0)
Imports RColorBrewer, grid, gridExtra, gtable, extrafont
Suggests testthat
Enhances
Linking to
Reverse
depends
Reverse
imports
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package waffle
Materials
URL https://github.com/hrbrmstr/waffle/tree/cran
Task Views
Version 0.7.0
Published 2017-01-07
License GPL (>= 2)
BugReports https://github.com/hrbrmstr/waffle/issues
SystemRequirements
NeedsCompilation no
Citation
CRAN checks waffle check results
Package source waffle_0.7.0.tar.gz