I am trying to call a plotly function given different conditions of input. Here\'s my code:
indicator_plotter <- function(df, data_name, type){ # Forma