Last data update: 21 sept. 2026, 15:41
Last compile: 08 nov. 2026, 23:02
`comptes-sante-vol-prix` |>
filter(poste_code == "p00000_niv0", type == "valeur") |>
ggplot() + geom_col(aes(x = annee, y = montant)) +
theme_minimal() + xlab("") + ylab("Millions d'euros") +
scale_x_continuous(breaks = scales::pretty_breaks()) +
scale_y_continuous(labels = comma_format(big.mark = " ")) +
theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust = 1))
`comptes-sante-vol-prix` |>
filter(poste_code == "p00000_niv0", type %in% c("tc_vol", "tc_prix")) |>
mutate(type = recode(type, tc_vol = "Volume", tc_prix = "Prix")) |>
ggplot() + geom_col(aes(x = annee, y = montant, fill = type), position = "dodge") +
theme_minimal() + xlab("") + ylab("Glissement annuel (%)") +
scale_x_continuous(breaks = scales::pretty_breaks(n = 10)) +
scale_y_continuous(labels = function(x) paste0(x, "%")) +
scale_fill_viridis_d() +
theme(legend.position = "bottom", legend.title = element_blank(),
axis.text.x = element_text(angle = 45, vjust = 1, hjust = 1))
`comptes-sante-vol-prix` |>
filter(poste_niveau == 1, type %in% c("tc_vol", "tc_prix")) |>
mutate(type = recode(type, tc_vol = "Volume", tc_prix = "Prix"),
poste_lib = gsub("^-", "", poste_lib)) |>
ggplot() + geom_line(aes(x = annee, y = montant, color = poste_lib)) +
facet_wrap(~type) +
theme_minimal() + xlab("") + ylab("Glissement annuel (%)") +
scale_x_continuous(breaks = scales::pretty_breaks(n = 10)) +
scale_y_continuous(labels = function(x) paste0(x, "%")) +
scale_color_viridis_d() +
theme(legend.position = "bottom", legend.title = element_blank(),
axis.text.x = element_text(angle = 45, vjust = 1, hjust = 1))
`comptes-sante-vol-prix` |>
filter(poste_code == "p00000_niv0", type == "i_prix") |>
ggplot() + geom_line(aes(x = annee, y = montant)) +
theme_minimal() + xlab("") + ylab("Indice de prix (base 100)") +
scale_x_continuous(breaks = scales::pretty_breaks(n = 10))