MulaiMulai sekarang secara gratis

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.

Latihan ini adalah bagian dari kursus

Market Basket Analysis in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Adjusting the color of bars (rainbow)
itemFrequencyPlot(Online_trx,
                    topN = 10,
                    ___ = ___(___),
                    type = "relative",
                    horiz = TRUE
)
Edit dan Jalankan Kode