Accepted answer

when you do this:"text")

you're appending a <text> element to a <circle> element, and this will simply not work.

there are alternatives. the simplest one is appending a <title>:"title")

but a title is very limited. alternatively, you can use a div to show the tooltip (check my answer here:

Related Query

More Query from same tag