chart = chartdata[i];

        // Set x scale, update axis
        thischart.xscale.domain([lolo, hihi]);
        thischart.xaxisbox
            .call(thischart.xaxis);

        // Set y scale
        var y = d3.scaleLinear()
            .domain([0, 6])
            .range([0, height]);
        var barHeight = y(1) - y(0);

        var body = thischart.body;
        // General update pattern
        var bar = body.selectAll("g")
            .data(chunks);
        bar.exit().remove();
        var newbar = bar