Quick Hit: {waffle} 1.0 Font Awesome 5 Pictograms and More

The {waffle} package got some 💙 this week and now has a substantially improved geom_waffle() along with a brand new sibling function geom_pictogram() which has all the powerful new features of geom_waffle() but lets you use Font Awesome 5 brand and solid glyphs to make isotype pictograms.

This slideshow requires JavaScript.

A major new feature is that stat_waffle() (which powers both geoms) has an option to auto-compute proportions so you can use a proper 10×10 grid to show parts of a whole without doing any extra work (works in facet contexts, too).

You can look at a preview of the vignettes below or bust the iframes to see waffles and pictograms in action.

Building Waffle Charts

Building Pictograms


You can get the updated {waffle} code at your preferred social coding service (See the list for {waffle} over at CINC.

It needs much tyre kicking, especially the pictogram geom. File issues/PRs wherever you’re comfortable.

Cover image from Data-Driven Security
Amazon Author Page

5 Comments Quick Hit: {waffle} 1.0 Font Awesome 5 Pictograms and More

  1. Pingback: Quick Hit: {waffle} 1.0 Font Awesome 5 Pictograms and More – Data Science Austria

  2. Art Steinmetz

    The default waffle::waffle() font family, “FontAwesome5Free-Solid”, despite those .ttf fonts from the waffle package being installed. I got “fontawesome-webfont.ttf” directly from FontAwesome, then this works:

    waffle(c(50, 30, 15, 5),
    rows = 5,
    use_glyph = “users”,
    glyph_size = 4,
    glyph_font = “FontAwesome”,
    glyph_font_family = “FontAwesome”)

    1. Art Steinmetz

      Sorry. Meant to say defaults don’t work for me, despite fonts being installed.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.