g            = chartbody     body
// ------ [g for each bar]
// --------[ rect for each bar ]
// --------[ text for each bar ]
// ---- g            = xaxisbox
// ------ [xaxis]

var init_plot = function() {

    for (var i=0; i< {{ nnodes }}; i++) {
        var chart = d3.select('#node_chunks_' + i)
            .attr("width", width + margin.left + margin.right)
            .attr("height", height + margin.top + margin.bottom)
            .append("g")
            .attr("transform", "translate(" + margin.left 