t_1101 |>
filter(line %in% c(8, 10, 9)) |>
left_join(gdp, by = "date") |>
ggplot() + theme_minimal() + ylab("% du PIB") + xlab("") +
geom_line(aes(x = date, y = value/gdp, color = Line, linetype = Line)) +
theme(legend.title = element_blank(),
legend.position = c(0.2, 0.85)) +
scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_color_manual(values = viridis(4)[1:3]) +
scale_y_log10(breaks = 0.01*seq(0, 100, 1),
labels = scales::percent_format(accuracy = 1))