chart.xscale(d[0])
                    - barspacer; })
            .attr("height", barHeight - 1)
            .style("fill", function(d) { return colormap[d[2]]; });

        // Label the bars with their chunk numbers
        //bar.select("text")
        //    .attr("x", 0)
        //    .attr("y", barHeight / 2)
        //    .attr("dy", ".35em")
        //    .text(function(d) { return d[0]; });

    }
    setTimeout(load_status, 2000);
  };

  $(document).ready(function() {
      init_plot();

      load