Categorical variables, tables and bar charts

A categorical variable sorts units into groups, so it is summarized by counting each group; turning counts into proportions lets groups of different sizes be compared, in a table, a bar chart or a pie chart.

From AP Statistics.