What is the primary purpose of a bar chart? A) To display data in a tabular format B) To compare different categories of data using rectangular bars C) To show the distribution of data over time D) To illustrate the relationship between two variables