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