Skip to content Skip to sidebar Skip to footer

Create Side By Side Bar Chart In Tableau

Introduction

Tableau is a powerful data visualization tool that can help you create interactive and informative charts, graphs, and dashboards. One of the most popular types of charts used in Tableau is the bar chart, which is great for comparing different values or categories. In this article, we will show you how to create a side by side bar chart in Tableau.

Step 1: Prepare your data

Step 1

The first step in creating a side by side bar chart is to prepare your data. Your data should be in a table format with columns representing the categories or dimensions you want to compare, and rows representing the values for each category. For example, if you want to compare the sales of different products, your table should have a column for product names and a column for sales figures.

Step 2: Create a new worksheet

Step 2

Once you have your data ready, open Tableau and create a new worksheet. To do this, click on the "Worksheet" tab at the bottom of the screen.

Step 3: Drag and drop your data

Step 3

Next, drag and drop your data onto the workspace. You should see your data appear as a table in the "Data" pane on the left side of the screen.

Step 4: Create a bar chart

Step 4

To create a bar chart in Tableau, select the "Bar" chart type from the "Show Me" panel on the right side of the screen. Then, drag and drop the category or dimension you want to compare (e.g. product names) onto the "Columns" shelf, and the value or measure you want to display (e.g. sales figures) onto the "Rows" shelf.

Step 5: Add a second measure

Step 5

To create a side by side bar chart, you need to add a second measure to your chart. This will allow you to compare the values of two different measures side by side. To do this, drag and drop the second measure (e.g. profit margins) onto the "Rows" shelf.

Step 6: Edit the chart

Step 6

Now that you have added a second measure, you can edit the chart to make it a side by side bar chart. To do this, click on the "Size" button in the "Marks" card, and adjust the width of the bars to your liking.

Step 7: Customize the chart

Step 7

Finally, you can customize your side by side bar chart by adding labels, colors, and other formatting options. To do this, click on the "Label" button in the "Marks" card, and choose the type of label you want to add.

Conclusion

Conclusion

Creating a side by side bar chart in Tableau is a great way to compare two different measures or categories side by side. By following the steps outlined in this article, you can create a professional-looking chart that is easy to read and understand. So why not give it a try?

Related video of Create Side By Side Bar Chart In Tableau