パレート図

パレート図テンプレート。品質管理における問題の優先順位付けに使用。

パレート品質管理頻度累積
パレート図

R Code (ggplot2)

library(ggplot2)

# ---- Pareto 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 = "Category", limits = c(0, 10)) +
  scale_y_continuous(name = "Frequency", limits = c(0, 100)) +
  labs(title = "Pareto Chart") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))