score:6

Accepted answer

I got the solution for the above question asked by me. On mouse-out the duration given to the tooltip was causing the flickering issue.

       dots.on("mouseout", function(d) {

            d3.select(this).attr({
                r: radius
            });
            d3.selectAll(".crosshair")
                .style("display", "none");

            tooltipDiv.transition()      
               .style("display", "none");
        }); 

On removing the duration(100), the above raised issue was solved.


Related Query