Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Interactive Data Visualization with plotly in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Delete the diagonal plots in splom
splom %>%
   style(___ = ___(___ = ___))
Code bewerken en uitvoeren