Formatting custom hover text on a scatter chart

I have been looking all over and seem to be finding examples for everything relating to hover text except for what I need! :frowning:

I want my hover text to be formatted as follows: (Az:90, El:180), where 90 and 180 correspond to the data point being hovered over. So instead of just (90, 180), I want to customize it. I am using plotly.js, and I know I need to do something like:

hoveinfo:โ€˜x+y+textโ€™,
text: โ€˜???โ€™

But I am not sure how to format the value for the text attribute to display how I want it.

Thanks in advance!!!

Hereโ€™s how: https://codepen.io/etpinard/pen/oOgPVa

thank you! that worked.