Sorting the graphs

Although Tableau generates default graphs using the best practices in information visualization, often they need modification for meeting the business needs and sometimes for better representation. Tableau provides various ways to adjust and modify various aspects of the graph. Sorting is useful to display the most or least influential number or category at the top or bottom.

Getting ready

Let's use the sample file Sample – Superstore Sales (Excel). Open a new worksheet and select Sample – Superstore Sales (Excel) as the data source.

How to do it...

Once the data is loaded, perform the following steps to create and sort a simple bar graph:

  1. Drag-and-drop State into the Rows shelf.
  2. Drag-and-drop Profit into the Columns shelf.
  3. You should ...

Get Tableau: Creating Interactive Data Visualizations now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.