d3 extent example