Get startedGet started for free

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.

This exercise is part of the course

Market Basket Analysis in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Adjusting the color of bars (rainbow)
itemFrequencyPlot(Online_trx,
                    topN = 10,
                    ___ = ___(___),
                    type = "relative",
                    horiz = TRUE
)
Edit and Run Code