Customizing text on x unified hovering

Your suggestion was very helpful in my educational project. Thank you.

hov_text= [f'🌀 Wind Speed <br><br>{d}<br>Daily average: {w} km/h'
           for d, w in zip(dff['date'].dt.strftime('%B %d,%Y'), dff['wind_daily_average'])]

fig = go.Figure()
fig.add_scatter(hovertext=hov_text, hoverinfo='text', ...
1 Like