-var consensus_div = content.append("div")
-consensus_div.append("div")
- .attr("id", "consensus-pie")
- .style("width", PieDrawer.width + "px")
- .style("height", PieDrawer.height + "px")
- .style("float", "left");
-consensus_div.append("div")
- .style("width", "460px")
- .style("margin-left", "5px")
- .style("line-height", PieDrawer.height + "px")
- .style("font-weight", "bold")
- .style("float", "left")
+var consensus_figure = content.append("figure")
+ .attr('class', 'graph graph-consensus')
+consensus_figure.append("span")
+ .attr("id", "consensus-pie");
+consensus_figure.append("figcaption")