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.
Version: |
1.0.2 |
Depends: |
R (≥ 3.5.0), ggplot2 (≥ 3.1.0) |
Imports: |
RColorBrewer, grid, gridExtra, gtable, extrafont, curl, stringr, stats, htmlwidgets, DT, plyr, rlang, utils |
Suggests: |
knitr, rmarkdown, dplyr, ggthemes |
Published: |
2023-09-30 |
DOI: |
10.32614/CRAN.package.waffle |
Author: |
Bob Rudis [aut,
cre],
Dave Gandy [aut] (Font Awesome),
Andrew Breza [ctb],
Matthias Jütte [ctb],
Paul Campbell [ctb] (geom_bar flip) |
Maintainer: |
Bob Rudis <bob at rud.is> |
License: |
GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
Copyright: |
file inst/COPYRIGHTS waffle copyright details |
NeedsCompilation: |
no |
CRAN checks: |
waffle results |