);        // Update the x-scale domain.       x.domain([0, d0.max(d.children, function(d) { return d.value; })]).nice();        // Update the x-axis.       svg.selectAll(".x.axis").transition()           .duration(duration)           .call(xAxis);        // Transition entering bars to 