Bar graphs, or otherwise known as bar charts, are commonly used in comparing data sets of different categories. In addition, the bars are constructed in such that it is directly proportional to the category it refers. Another type of chart used in comparing categorical data are pie charts.