気分チャート

気分チャートテンプレート。双極性障害等の日々の気分変動をプロット。

気分双極性チャート
気分チャート

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Day", limits = c(1, 30)) +
  scale_y_continuous(name = "Mood score (-3 to +3)", limits = c(-3, 3)) +
  labs(title = "Mood Chart") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))