Added histogram visualization.