Kom igångKom igång 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.

Den här övningen är en del av kursen

Market Basket Analysis in R

Visa kurs

Interaktiv övning med praktiskt arbete

Testa den här övningen genom att slutföra den här exempelkoden.

# Adjusting the color of bars (rainbow)
itemFrequencyPlot(Online_trx,
                    topN = 10,
                    ___ = ___(___),
                    type = "relative",
                    horiz = TRUE
)
Redigera och kör kod