Tweaking the appearance
So far, you have used the default settings for your SPLOMs. Now, we will introduce two common customizations to explore:
- Deleting the diagonal panels.
- Displaying only the upper or lower triangle of plots.
Both customizations are implemented by adding a style()
layer.
Your task is to style your SPLOM from the previous exercise to explore how these customizations work.
Your plot from the previous exercise is stored in the splom
object, and plotly
has been loaded for you.
This exercise is part of the course
Interactive Data Visualization with plotly in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Delete the diagonal plots in splom
splom %>%
style(___ = ___(___ = ___))