眼疾患棒グラフ

眼疾患棒グラフテンプレート。眼疾患の有病率を比較。

bar棒グラフ眼疾患有病率眼科
眼疾患棒グラフ

R Code (ggplot2)

library(ggplot2)

# ---- Eye Disease Bar 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 = "Disease", limits = c(0, 5)) +
  scale_y_continuous(name = "Prevalence (%)", limits = c(0, 15)) +
  labs(title = "Eye Disease Bar Chart") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))