d3 context menu add argument code example
Example: d3 disable context menu
.on("contextmenu", function (d, i) {
d3.event.preventDefault();
// react on right-clicking
})
.on("contextmenu", function (d, i) {
d3.event.preventDefault();
// react on right-clicking
})