Open In App

Stacked Bars in Tableau

Last Updated : 29 Jul, 2021
Improve
Improve
Like Article
Like
Save
Share
Report

In this article, we will learn how to draw a stacked bar graph in tableau worksheet to do further operations. 

Tableau — a brief note

Tableau is a very powerful data visualization tool that can be used by data analysts, scientists, statisticians, etc. to visualize the data and get a clear opinion based on the data analysis. Tableau is very famous as it can take in data and produce the required data visualization output in a very short time.

Stacked bars

The stacked bars are nothing but, the bar charts with segments inside. These internal segments add detail to the fields marked as bars and are differentiated by colors. It is mostly used to compare categorical data.

Dataset used in the given examples is Dataset.

For this, we have to import the dataset first. Follow the steps :

  1. Open Tableau tool and connect a dataset into it.
  2. Drag and drop the one sheet of connected dataset.
  3. Click on sheet1 to open the tableau worksheet.
  4. On clicking Sheet1 you will get whole dataset attributes on left side and a worksheet for work.

To draw a stacked bar graph you have to select minimum three attributes( one in row and two in column) by dragging and dropping then select the chart option as stacked bar graph.

Example 1:

You can use the following steps to draw a stacked bar graph.

  • Drag and drop the fields in rows and columns.
  • Choose the chart as stacked bar graph.

Example 2:

  • Drag and drop the fields in rows and  columns.
  • Choose the chart as stacked bar graph.
  • Change the color by choosing a new palette.
  • Apply the border marks.

Example 3:

  • Drag and drop the multiple fields in rows and columns.
  • Choose the chart as a stacked bar graph.


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads