code: public Histogram histogram(double[] data, int k, Color color) {
          return histogram(null, data, k, color);
      }
docs: Adds a histogram to this canvas.
  @param data a sample set.
  @param k the number of bins.