plot_histogram function

A histogram of a single variable.