Creating a Bar chart
Bar chart is one of the most commonly used chart type that will help us quickly compare information across various categories. In a bar chart, the height (in the case of a vertical bar chart) or the length (in the case of a horizontal bar chart) of the bar is what determines the value. They are very effective when we want to split our quantifiable data into different categories and find quick trends in the data, for example, the number of sales across different customer segments, the profit across various product categories, and so on. The bar chart in Tableau uses the Bar mark type.
Getting ready
In the following recipe, we will continue working in our existing workbook to create a bar chart that shows the sales across different regions. We will use the Sales field from the Measures pane and the Region field from the Dimensions pane. Let's see how this is done.
How to do it…
We will create a new worksheet by pressing Ctrl + M on your keyboard and rename it to
Bar chart...