d3.js interactive grouped bar chart alternating rotation
===

Using the example from http://blog.nextgenetics.net/demo/entry0032/ I wanted to try to label the grouped bar selected on mouseover as in http://bl.ocks.org/3177376.  Everything seems to work.  However, the rotation only applies to the first set of bars and not the second.  When I debug, the line

    .attr("transform", "rotate(-90 " + x(d.date) + x1(p.key) + "," + y(d.perf) + ")");

seems to get skipped.  I have reached my limits.  Does anyone have any suggestions?  Thanks so much.