The d3.mean function from d3