frequency_plot function

Plot a frequency chart