1 var content = d3.select("#content");
2 var consensus_figure = content.append("figure")
3 .attr('class', 'graph graph-consensus')
4 consensus_figure.append("span")
5 .attr("id", "consensus-pie");
6 consensus_figure.append("figcaption")
7 .text(L10n.consensus_weight);
9 var exit_figure = content.append("figure")
10 .attr('class', 'graph graph-exit')
11 exit_figure.append("span")
12 .attr("id", "exit-pie");
13 exit_figure.append("figcaption")
14 .text(L10n.exit_probability);
17 .style("clear", "left");
19 new ConsensusPieDrawer("#consensus-pie").draw();
20 new ExitPieDrawer("#exit-pie").draw();