Do not display x, y on hover for Scatter Plot

I want to have a custom tooltip on hover of a point instead of the default tooltip with x,y,and text.

I want to get rid of the x, y point values that it shows.
Can you please help me out?

Below is the fidlle:
https://jsfiddle.net/5a52q1c9/

I believe youโ€™re looking for the hoveinfo trace attribute.

When set to 'text' only the content of the trace text field are shown on hover.

See example: https://jsfiddle.net/5a52q1c9/2/

What if both custom text and x, y values are getting displayed instead of only custom text ?47%20PM

Would you mind sharing a reproducible example to help us debug?