CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Market Basket Analysis in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Adjusting the color of bars (rainbow)
itemFrequencyPlot(Online_trx,
                    topN = 10,
                    ___ = ___(___),
                    type = "relative",
                    horiz = TRUE
)
Modifier et exécuter le code