I plotted multiple variables using subplots and managed to add axis labels using the following code:
library(tidyverse); library(plotly) set.seed(123) x <