Bar charts are a type of visualization which are used to compare the number, frequency, or other measures for different categories of data. Bar charts are the most common type of visualization, and are easy to create and easy to interpret as well. They are used to present categorical data in the form of rectangular bars with heights/lengths proportional to the given values.
There are two categories of aggregation that we need to configure for creating bar charts: metric aggregation and bucket aggregation.