generate_plotly function

A helper function that takes simulation results and produces plotly plots