Learn R Programming

waffle (version 1.0.2)

Create Waffle Chart Visualizations

Description

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.

Copy Link

Version

Install

install.packages('waffle')

Monthly Downloads

2,381

Version

1.0.2

License

GPL (>= 2)

Maintainer

Last Published

September 30th, 2023

Functions in waffle (1.0.2)

fa5_brand

Font Awesome 5 Brand
draw_key_pictogram

Legend builder for pictograms
fa_list

List all Font Awesome glyphs
fa5_solid

Font Awesome 5 Solid
install_fa_fonts

Install Font Awesome 5 Fonts
iron

Veritical, left-aligned layout for waffle plots
scale_label_pictogram

Used with geom_pictogram() to map Font Awesome fonts to labels
geom_pictogram

Pictogram Geom
geom_waffle

Waffle (Square pie chart) Geom
fa_grep

Search Font Awesome glyph names for a pattern
theme_enhance_waffle

Waffle chart theme cruft remover that can be used with any other theme
waffle-package

A package to make waffle charts (square pie charts) in R.
waffle

Make waffle (square pie) charts