予防接種状況ヒートマップ

ワクチン接種状況をヒートマップで一覧表示するテンプレート。

ワクチン接種ヒートマップ予防接種
予防接種状況ヒートマップ

R Code (ggplot2)

library(ggplot2)

# ---- Vaccination Status Heatmap ----
# あなたのデータを入力してください
df <- data.frame(
  x = c(),
  y = c()
)

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Vaccine", limits = c(0, 8)) +
  scale_y_continuous(name = "Age", limits = c(0, 6)) +
  labs(title = "Vaccination Status Heatmap") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))