健康寿命vs平均寿命

健康寿命vs平均寿命の年次比較テンプレート。男女別の折れ線。

healthy life健康寿命平均寿命年次推移
健康寿命vs平均寿命

R Code (ggplot2)

library(ggplot2)

# ---- Healthy vs Total Life Expectancy ----
# あなたのデータを入力してください
df <- data.frame(
  x = c(),
  y = c()
)

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Year", limits = c(2000, 2025)) +
  scale_y_continuous(name = "Age (years)", limits = c(60, 90)) +
  labs(title = "Healthy vs Total Life Expectancy") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))