Chapter 5 Advanced Plotly
(Computer Lab 4B)
Each of the data science computer labs which focus on data visualisation will contain guides on how to use the different components of the plotly
package to produce engaging interactive graphs.
However, some of these data visualisations will require a bit more coding. Specifically, the process of adding buttons
to your plotly
graphs can be quite challenging, especially when we are just starting out.
Therefore, we provide a walkthrough of this process below, using code from previous computer labs.
We strongly recommend that you read through this section before starting Computer Lab 4B.
Note: If you have not already completed Computer Lab 3B, the following material might not make sense, so we suggest finishing that lab first, before reading any further.