Goal: I got certain svg circles in place, which are nodes from a D3 graph. I added a darkmode toggle and want to replace the default pointer cursor with an Xwing image. This should only be visible if I hover over an circle. All other elements are excluded.
Problem: I know how to change the cursor in general, like shown below, but I do not know how to change the cursor during an specific hover event. Any idea?
body {
cursor: url("Xwing.png"), auto
}