plot_histogram function

Plot data distribution as histograms.