Intro to data visualization with Tableau
UBC Library Research Commons
The Vancouver Campus is located on the traditional, ancestral, and unceded territory of the xʷməθkʷəy̓əm (Musqueam) people.
Learning objectives
- Recognize the characteristics of an effective visualization
- Format data for visualization
- Create a simple visualization using Tableau
Tableau Public
Limitations of the free version
- Visualizations cannot be saved locally
- Dataset limit of 1M records
- Cannot connect databases
Participating online
![Zoom toolbar](images/zoom_toolbar.png)
![Reactions menu](images/reactions.png)
Source data
![Source data spreadsheet](images/source.png)
Sample map output
![Tableau graph example](images/sample-graph.png)
“Data visualization is the graphical display of abstract information for two purposes: sense-making (also called data analysis) and communication.”
-Stephen Few, What is Data Visualization
Preattentive processing
The eye and brain’s ability to process certain visual properties almost instantly, without conscious effort.
Encoding quantities: length and size
Remove unnecessary content to focus the viewer
Use colors intentionally to encode information
Some guiding principles
- Choose clarity over variety
- Reduce burden on the reader
- Present data with integrity
Preparing your data
Each measure in one column
![](images/wide-data.PNG)
![](images/long-data.PNG)
Know your dataset
- How is it formatted?
- How many records are there?
- What are the variable labels?
- Is there a user guide or data dictionary?
Checking your work
Statistics Canada table 14-10-0017-02, Labour force characteristics by province, monthly, unadjusted for seasonality.