code: public HistogramVisual asVisual()
    {
      float[] visualCounts = new float[bins.length - 2];
      for (int i = 0; i < visualCounts.length; ++i) {
        visualCounts[i] = (float) bins[i + 1];
      }
      return new HistogramVisual(breaks, visualCounts, new float[]{min, max});
    }
docs: Returns a visual representation of a histogram object.
  Initially returns an array of just the min. and max. values
  but can also support the addition of quantiles.
  
  @return a visual representation of this histogram