Now plots a bar histogram for all the dataset.