functional diversity histograms