prepare text to be shown in plotly through aes(text)
plotlyTextFormatter(df, cols)
df
data.frame
cols
character() of column names to display