I try to trigger an event on mouse click but my event never start. First I I didn't select the good area but the mouse event "mousemove" trigger my event. I don't understand how it is possible... Does someone has an explaination or a solution to this problem?
d3.select("#chart").on("mousemove", function(){console.log("this");});
d3.select("#chart").on("click", function(){console.log("that");});
I can see "this" but not "that".
I've found this question but that doesn't solve my problem...