肝疾患原因棒グラフ

肝疾患原因棒グラフテンプレート。肝疾患の原因別割合を比較。

bar棒グラフ肝疾患原因消化器
肝疾患原因棒グラフ

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Etiology", limits = c(0, 6)) +
  scale_y_continuous(name = "Cases (%)", limits = c(0, 40)) +
  labs(title = "Liver Disease Etiology Bar") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))