A minimal R package with a Charité-styled ggplot2 theme, visual
identity colour palettes, and
publication-ready figure export for manuscripts and slides.
You can install the charite package from
GitHub with:
# install.packages("devtools")
devtools::install_github("johannesjuliusm/charite")To install the package on a machine with proxies, e.g., the standard Windows PC in the Charité network, find more detailed installation instructions in the installation vignette.
Visualize your data with theme_charite() to match the corporate style.
Preview the available colour palettes.
# create your ggplot2 figure
p <- ggplot(data, aes(x = x, y = y)) +
geom_point(size = 3, color = charite_colors$HIMBEER) # use any of the Charité colors
# format the plot style
p <- p + theme_charite()
# alternatively, customize the plot style further
# for example by specifying a font
p <- p + theme_charite(font = "Charité Text Office")
# easily save your plot in a format optimized for slides and publications
nice_save("myfigure.png", p, layout = "slides")theme_charite()– A custom ggplot2 themecharite_colors– Named list of hex codes of the Charité colourscharite_palettes– Named list of colour palettes derived from the Charité visual identitypreview_charite_palettes()– Shows the available colour palettesnice_save()– wrapper ofggplot2::ggsave()for high-res publication-ready figuresscale_color_charite()– ggplot2 colour scale using thecharite_palettesscale_fill_charite()– ggplot2 fill scale using thecharite_palettesexample_plot()– A demo plotmake_charite_palette()– Internal function to interpolate or reverse colour palettesvirchow()– Surprise ASCII art. Use for funmotivate()– Get some motivation when stuckcurves– Included dataset for demo plot
If you use the charite R package in your work, please cite:
@software{mohn2026charite,
author = {Mohn, Johannes Julius},
title = {charite: Charité-styled publication-ready visualization in R},
year = {2026},
version = {0.5.1},
url = {https://github.com/johannesjuliusm/charite},
license = {MIT}
}MIT © 2026 Johannes Julius Mohn
Report bugs here.
Developed by Johannes Julius Mohn (Max Planck School of
Cognition
& Charité – Universitätsmedizin Berlin)
Get in touch via johannes.j.mohn@maxplanckschools.de
The hex logo was designed by Valentina Nercolini.
charite is now also available as a python
package developed by
Pedram Ramezani.


