The d3.event function from d3