Black Lives Matter. Please consider donating to Black Girls Code today.

Radarchart - Dataframe and Hover Text

I’m doing some graphs with plotly’s radar chart typ

I am wondering if there is any solution to plot 10 observations from a dataframe without always adding the add_trace argument with r, theta and name respectively? So take the data straight from a dataframe.

Also, is there any possibility to customize the hover text so that it will not display ‘r’ and ‘theta’, but instead the theta text next to the r value? E.g. in this case ‘E’: 28. From the documentation, I added the “text” argument, however I did not manage to get the corresponding “r” value, so it would be possible to just remove plotly default arguments an just the customized text.

Thank you.