anchor.diff:  
   
   <body>
  -<%=  @allSessions.first.as_json %>
  +
   
   <BR>
   
  
positive.code: <!DOCTYPE html>
  <meta charset="utf-8">
  <style>
  
  /*.chart rect {
  
negative.code:            //         return str;
  // })
  .style("fill", function(d) {
           return d.light_color;
  });
  
  bar.append("rect")
  .attr("x",function(d, i) {
          return x(d.git_tag);
  })
  .attr("width", function(d, i) {
          return x(1);
  })
  .attr("height", barHeight );
  
  chart.append("g")
  .attr("class", "x axis")
  .attr("transform", "translate(31," + barHeight + ")")
  .call(xAxis)
  .selectAll("text")
  // .attr("y", 6)
  // .attr("x", 6)
  .style("text-anchor", "start");
  
  
  var gBrush = chart.append("g")
  .attr("class", "brush")
  .call(brush)
  .call(brush.event);
  
  gBrush.selectAll("rect")
  .attr("height", barHeight);
  
  
  
  function brushended() {
  
    if (!d3.event.sourceEvent) return; // only transition after input
      console.log("BRUSH_END")
      var extent0 = brush.extent();
      // extent1 = extent0.map(d3.time.day.round);
  
      console.log(extent0)
      console.log(Math.floor(extent0[0]))
      console.log(Math.ceil(extent0[1]))
  
      var extent1 = extent0;
      extent1[0] = Math.round(extent0[0]);
      extent1[1] = Math.round(extent0[1]);
  
      //   // if empty when rounded, use floor & ceil instead
      //   if (extent1[0] >= extent1[1]) {
        //       extent1[0] = d3.time.day.floor(extent0[0]);
        //       extent1[1] = d3.time.day.ceil(extent0[1]);
      //     }
  
      d3.select(this).transition()
      .call(brush.extent(extent1))
      .call(brush.event);
      }
  
  
  
      // bar.append("text")
      // .attr("x", function(d) { return x(d) - 3; })
      // .attr("y", barHeight / 2)
      // .attr("dy", ".35em")
      // .text(function(d) { return d; });
  
      /*
  var testData = [
    {times: [{"starting_time": 1, "ending_time": 2}, {"starting_time": 3, "ending_time": 4}]},
    {times: [{"starting_time": 4, "ending_time": 6}, {"starting_time": 2, "ending_time": 3}]},
  