Getting fancy with the visuals
In general, you should not neglect the appearance of your visualization. Many data scientists need to use insightful and informative visualizations in order to convey clear messages to their audience. A visual is meant to be appealing and informative for the person looking at it. Let's now customize the barplot.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Market Basket Analysis in R
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Adjusting the color of bars (rainbow)
itemFrequencyPlot(Online_trx,
topN = 10,
___ = ___(___),
type = "relative",
horiz = TRUE
)