score:2

Apparently you can't trigger the hover event programmatically, because hovering is not a trusted event (see also Trigger css hover with JS). Whan you can do is to add a class to add a class to the elements on mouseover, and remove the class on mouseout.

d3.selectAll('.nv-slice')
    .on('mouseover', function() { d3.select(this).classed('hover', true); })
    .on('mouseout', function() { d3.select(this).classed('hover', false); });

Related Query

More Query from same tag