Last data update: 26 oct. 2026, 19:18
Last compile: 26 oct. 2026, 19:21
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("Évolution de la consommation des ménages par fonction", 75)) +
theme(legend.position = "right", panel.grid = element_blank())
d2 |>
filter(!is.na(valeur), !is.na(annee), !total100) |>
ggplot(aes(x = annee, y = valeur, color = cle, group = cle)) +
geom_line(linewidth = 1.1) +
geom_point(size = 1.4) +
scale_color_brewer(palette = "Dark2", name = NULL, labels = scales::label_wrap(45)) +
theme_pub() +
labs(x = NULL, y = "en %",
title = str_wrap("Évolutions de la dépense des ménages, du pouvoir d'achat du revenu disponible brut et du taux d'épargne", 75)) +
guides(color = guide_legend(ncol = 2))
d3 |>
filter(!is.na(valeur), !is.na(annee), !total100) |>
ggplot(aes(x = annee, y = valeur, color = cle, group = cle)) +
geom_line(linewidth = 1.1) +
geom_point(size = 1.4) +
scale_color_brewer(palette = "Dark2", name = NULL, labels = scales::label_wrap(45)) +
theme_pub() +
labs(x = NULL, y = "en %",
title = str_wrap("Taux d'épargne et évolutions de la consommation, des prix et du revenu", 75)) +
guides(color = guide_legend(ncol = 2))