Use custom fonts in `ggradar`
masterYou can customize the typography of your radar chart using the font.radar argument. To use a custom font:
- Download the font file to your system.
- Install the font on your operating system.
- Register the font in R using the
extrafontpackage. - Pass the font family name to the
font.radarparameter inggradar().
ggradar can be used directly in a pipe (%>%) workflow.
# Example using a custom font 'Circular Air' in a pipe
mtcars %>%
as_tibble(rownames = "group") %>%
mutate_at(vars(-group), rescale) %>%
tail(4) %>%
select(1:10) %>%
ggradar(font.radar = "Circular Air")