Last data update: 26 oct. 2026, 19:20
Last compile: 17 nov. 2026, 01:25
d1 |>
filter(!is.na(valeur), !total100) |>
mutate(lab = fct_inorder(libelle), serie = fct_inorder(serie)) |>
ggplot(aes(x = serie, y = fct_rev(lab), fill = valeur)) +
geom_tile(color = "white") +
scale_x_discrete(labels = scales::label_wrap(12), position = "top") +
scale_y_discrete(labels = scales::label_wrap(40)) +
scale_fill_gradient(low = "#F4F8FD", high = bleu, name = "") +
theme_pub(9) +
labs(x = NULL, y = NULL, title = str_wrap("Feuil1", 75)) +
theme(legend.position = "right", panel.grid = element_blank())
d2 |>
filter(!is.na(valeur), !total100) |>
mutate(lab = fct_inorder(libelle), serie = fct_inorder(serie)) |>
ggplot(aes(x = valeur, y = fct_rev(lab), fill = serie)) +
geom_col(position = position_dodge(width = 0.8), width = 0.75) +
scale_y_discrete(labels = scales::label_wrap(40)) +
scale_fill_brewer(palette = "Set2", name = NULL, labels = scales::label_wrap(30)) +
theme_pub(10) +
labs(x = "", y = NULL,
title = str_wrap("Feuil2", 75)) +
guides(fill = guide_legend(ncol = 2))