Histogram chart implementation