The d3.nest function from d3