in reply to Help with Histograms

Look at how others have created histograms (or just use their code):