I want to make double click event on nodes. So I tried
.on(\"dbclick\",function(d){return \"http://google.com\");});
and
.bin
If using D3 Observable:
const nodeEnter = node.enter().append("g") .on("dblclick", d => { d3.event.preventDefault(); // do your thing });