var content = d3.select("#content");
var consensus_figure = content.append("figure")
- .style("margin", "0")
- .style("width", "45%")
- .style("float", "left")
- .style("text-align", "center");
+ .attr('class', 'graph graph-consensus')
consensus_figure.append("span")
.attr("id", "consensus-pie");
consensus_figure.append("figcaption")
.text(L10n.consensus_weight);
var exit_figure = content.append("figure")
- .style("margin", "0 5% 0 0")
- .style("width", "44%")
- .style("float", "left")
- .style("text-align", "center");
+ .attr('class', 'graph graph-exit')
exit_figure.append("span")
.attr("id", "exit-pie");
exit_figure.append("figcaption")