Bar Chart of Number of Occurrences

I want to construct a bar chart of the number of times each (integer) number occurs in a data series.

eg. given 3 5 6 5 5 3 produce


__X


X_X


X_XX


3456


any help greatly appreciated!

Check the 3 Question links in this question about histograms. One of the answers should be adaptable to your situation.