Appendix A — Why does it look like this?

Last modified on 20. November 2025 at 10:01:22

“A quote.” — Dan Meyer

A.1 Used R packages

This is a printout of the init.R file, which can be found on GitHub

R Code [show / hide]
pacman::p_load(tidyverse, ggforce, viridis, knitr, patchwork)

A.2 Used theme of the visualitations

R Code [show / hide]
theme_book <- function() {
  theme_minimal() +
    theme(panel.grid.minor = element_blank(),
          plot.title = element_text(size = 16, face = "bold"),
          plot.subtitle = element_text(size = 12, face = "italic"),
          plot.caption = element_text(face = "italic"),
          axis.title = element_text(size = 12, face = "bold"),
          axis.text = element_text(size = 11),
          legend.title = element_text(face = "bold"))
}

A.3 Used color palettes

R Code [show / hide]
col_pal <- \(n, alpha) plasma(n = n, alpha = alpha)
c6_pal <- col_pal(6, 1)

References