ochathemes
is package providing ggplot2
themes and theme components
inspired by OCHA graphics stylebook.
This package is not on yet on CRAN and to install it, you will need the
remotes
package.
## install.packages("remotes")
remotes::install_gitlab("dickoa/ochathemes")
library(ochathemes)
library(humicons)
library(ggplot2)
ggplot(mtcars, aes(mpg, wt)) +
geom_text(family = font_hum, label = humicons("un-vehicle"), size = 7, color = "#418FDE") +
labs(title = "Using the UN-Vehicle icon in ggplot2", x = "", y = "") +
theme_ocha(grid = "XY")
- Please report any issues or bugs.
- License: MIT
- Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.