0% found this document useful (0 votes)
25 views

Create A Bar Chart in Tableau

Bar charts allow you to compare data across categories by placing a dimension on the rows shelf and a measure on the columns shelf. To create a bar chart showing total annual sales by region in Tableau, connect to a data source, drag the Order Date dimension to Columns and Sales measure to Rows, select Bar from the marks card, and drag Region to Rows to produce multiple axes. This will produce a bar chart displaying total sales by year and region.

Uploaded by

kiukol
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Create A Bar Chart in Tableau

Bar charts allow you to compare data across categories by placing a dimension on the rows shelf and a measure on the columns shelf. To create a bar chart showing total annual sales by region in Tableau, connect to a data source, drag the Order Date dimension to Columns and Sales measure to Rows, select Bar from the marks card, and drag Region to Rows to produce multiple axes. This will produce a bar chart displaying total sales by year and region.

Uploaded by

kiukol
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Create a Bar chart in Tableau

Use bar charts to compare data across categories. You create a bar chart by placing a dimension on
the Rows shelf and a measure on the Columns shelf, or vice versa.

A bar chart uses the Bar mark type. Tableau selects this mark type when the data view matches one
of the two field arrangements shown below. You can add additional fields to these shelves.

For more information about the Bar mark type, see Bar mark.

To create a bar chart that displays total sales over a four-year period, follow these steps:

Connect to the Sample - Superstore data source.


Drag the Order Date dimension to Columns and drag the Sales measure to Rows.

Notice that the data is aggregated by year and column headers appear. The Sales measure is
aggregated as a sum and an axis is created, while the column headers move to the bottom of the
view. Tableau uses Line as the mark type because you added the date dimension.
On the Marks card, select Bar from the drop-down list.
The marks (which are bars in this case) are vertical because the axis is vertical. The length of each
mark represents the sum of the sales for that year. The actual numbers you see here might not
match the numbers you see—the sample data changes from time to time.

Drag the Ship Mode dimension to Color on the Marks card.

The view shows how different shipping modes have contributed to total sales over time. The ratios
look consistent from year to year.
Drag the Region dimension to Rows, and drop it to the left of Sales to produce multiple axes for sales
by region.

You might also like