.attr("transform", "translate(" + BwDrawer.margin.left + "," + BwDrawer.margin.top + ")");
var form = d3.select(selector).append("form")
+ .attr("class", "graph-period")
.attr("action", "#");
BwDrawer.periods.forEach(function(p) {
var div = form.append("div");