An R package for creating waffle (square pie) charts and isotype pictograms using ggplot2.
Waffle is an R package designed to create waffle charts, a type of square pie chart used to visualize proportions of categorical data. It solves the problem of representing parts of a whole in a grid-based format, which can be more intuitive than traditional pie charts. The package also supports pictograms using Font Awesome icons for enhanced visual communication.
R users, data analysts, and researchers who need to create clear, engaging visualizations of categorical proportions, particularly for presentations, reports, or dashboards.
Developers choose Waffle for its seamless integration with ggplot2, allowing for extensive customization, and its unique ability to create both classic waffle charts and modern pictogram charts within the familiar R ecosystem.
:maple_leaf: Make waffle (square pie) charts in R
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Functions return ggplot2 objects, enabling seamless use of themes, scales, and other ggplot2 extensions for deep customization, as shown in examples with hrbrthemes and ggthemes.
Integrates Font Awesome glyphs through geom_pictogram and scale_label_pictogram, allowing for engaging isotype visualizations without external image handling, with helpers like fa_list for glyph management.
The iron() function facilitates vertical alignment and stitching of multiple waffle plots, useful for comparative displays, as demonstrated in the trout abundance example.
Offers parameters like n_rows, flip, and make_proportional for creative control over grid layout, and supports various grid shapes beyond the traditional 10x10 setup.
Requires manual installation of Font Awesome fonts via install_fa_fonts(), which can fail on systems without proper permissions or internet access, adding setup overhead.
Outputs are static ggplot2 plots, lacking built-in interactivity for web applications or dynamic data exploration, limiting use in modern dashboard tools without additional frameworks like Shiny.
The CRAN version (0.7.0) is outdated compared to GitHub (1.0.2), potentially leading to missing features and confusion for users relying on official repositories.