Create A Bar Chart in Tableau
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:
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.
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.