When you want to show how often A, B and C appear in the dataset.

For example if “you would like to show …“

… how often the letters ABCHRT appear in the word barchart, you can use a dot matrix.

… how the differences in salaries are between the different age groups in a company, you can use a box plot.