Statistical visualisation

ggforma

Make statistical charts, write labels in different languages, and bring plots from several R graphics systems into one figure.

ggforma logo

What the package offers

  • Statistical charts. Create publication-ready radar, pie, donut, and mosaic charts in ggplot2. Mosaic plots show the relationships between categorical variables, with tile area representing the counts.
  • Rich text and equations. Mix formatted text and mathematical expressions in titles, labels, captions, and annotations.
  • Multilingual labels. Translate supported chart terms using a built-in dictionary that includes English, Chinese, French, Japanese, and Korean. Supply your own translations for project-specific wording.
  • Plot composition. Align and combine plots from base R, lattice, and ggplot2 in a single figure.

Get started

Browse the gallery for chart examples with R code, or follow the installation instructions to try the package.

Back to all projects

Have feedback on ggforma?

I welcome examples, questions, and suggestions.

dings@who.int