course_dv

Tableau Interface

This module covers the Tableau interface, including how to install Tableau, navigate the interface, and understand key features. We will make some basic charts to get familiar with the software.

Outcomes:

Links:

Installation

Before class, install Tableau on your computer:

Interface

Saving

Be careful how you save your file! Normal Tableau files don’t include the data. You must save as a packaged workbook for any submitted work in this class.

We share our data with Tableau Public. This makes our information and visualizations public. Do not use Tableau Public for any sensitive or private data.

Data

We start by connecting to a data source. Tableau can connect to many different data sources, including databases, spreadsheets, and flat files. For this class, we will primarily use Excel and CSV files. Tableau can also connect to databases, but that is outside the scope of this class.

Data sources:

Once you connect to a data source, Tableau will show you a preview of the data. You will generally need to do some basic data cleaning before you can start visualizing the data. Common tasks include:

Data Types

Each field can hold different types of data.

Some common data types include:

Dimensions and Measures

One of the most critical things to understand in Tableau is the difference between dimensions and measures.

Dimensions are fields that are used to slice and dice data. They are typically discrete values, such as categories or names. Dimensions are used to group data and create headers in tables.

Measures are fields that are used to aggregate data. They are typically numeric values, such as sales or quantities. Measures are used to calculate totals, averages, and other statistics.

We commonly use discrete measures and continuous dimensions. However, this is not always the case. You can change a dimension to a measure by right-clicking on the field and selecting “Convert to Measure”. Similarly, you can change a measure to a dimension by right-clicking on the field and selecting “Convert to Dimension”.

Table

To create a table in Tableau, drag and drop fields from the Data pane to the Rows and Columns shelves. You can also use the Show Me panel to quickly create a table.

A table is not chart unless you also use pre-attentive attributes to map data to visual features. For example, you can use color to represent different categories or size to represent different values.

Table example with highlight Source: https://www.reddit.com/r/dataisbeautiful/comments/1qaq7kz/a_quarter_century_of_television_oc/ by gammafission00