ta b l ea u i n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · f ig u res o n...
TRANSCRIPT
![Page 1: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/1.jpg)
Intro to data visualization withIntro to data visualization withTableauTableau
UBC Library Research CommonsUBC Library Research Commons
Jeremy Buhler, Sarah Parker,
[email protected]@ubc.ca
http://bit.ly/ubc-intro-data-viz
![Page 2: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/2.jpg)
Pre-workshop setupPre-workshop setup
1. Install Tableau Public or Tableau Desktop2. Download 3. Create (optional)
Labour Force Survey sample datasetTableau Public account
![Page 3: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/3.jpg)
The Vancouver Campus is located on the traditional,ancestral, and unceded territory of the xʷməθkʷəy̓əm
(Musqueam) people. Map: https://native-land.ca/
![Page 4: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/4.jpg)
Learning objectivesLearning objectives
1. Recognize the characteristics of an effectivevisualization
2. Format data for visualization3. Create a simple visualization using Tableau
![Page 5: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/5.jpg)
Tableau PublicTableau PublicLimitations of the free version
Visualizations cannot be saved locallyDataset limit of 1M recordsCannot connect databases
![Page 6: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/6.jpg)
Participating onlineParticipating online
![Page 7: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/7.jpg)
Participating onlineParticipating online
![Page 8: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/8.jpg)
OutlineOutline0:10
0:25
0:30
0:45 Break
0:50
1:20
Visualization basics
Preparing your data
Introducing the Tableau interface
Creating graphs
Saving your work
![Page 9: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/9.jpg)
Source dataSource data
![Page 10: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/10.jpg)
Sample map outputSample map output
![Page 11: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/11.jpg)
“Data visualization is the graphical display of abstractinformation for two purposes: sense-making (also
called data analysis) and communication.”
-Stephen Few, What is Data Visualization
![Page 12: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/12.jpg)
Preattentive processingPreattentive processingThe eye and brain’s ability to process certain visual
properties almost instantly, without conscious effort.
![Page 13: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/13.jpg)
![Page 14: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/14.jpg)
![Page 15: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/15.jpg)
Figures on this and the next slide from Stephen Few, “Tapping the Power of Visual Perception”http://www.perceptualedge.com/articles/ie/visual_perception.pdf
![Page 16: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/16.jpg)
![Page 17: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/17.jpg)
Encoding quantities: length and size
![Page 18: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/18.jpg)
Encoding quantities: length and size
![Page 19: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/19.jpg)
Encoding quantities: length and size
![Page 20: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/20.jpg)
Remove unnecessary content to focus the viewer
![Page 21: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/21.jpg)
Remove unnecessary content to focus the viewer
![Page 22: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/22.jpg)
Remove unnecessary content to focus the viewer
![Page 23: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/23.jpg)
Source: Jeffrey Shaffer, https://www.tableau.com/about/blog/2016/4/examining-data-viz-rules-dont-use-red-green-together-53463
![Page 24: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/24.jpg)
Use colors intentionally to encode information
![Page 25: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/25.jpg)
Use colors intentionally to encode information
![Page 26: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/26.jpg)
Use colors intentionally to encode information
![Page 27: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/27.jpg)
Some guiding principlesSome guiding principles1. Choose clarity over variety2. Reduce burden on the reader3. Present data with integrity
![Page 28: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/28.jpg)
Preparing your dataPreparing your data
![Page 29: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/29.jpg)
Each measure in one columnEach measure in one column
![Page 30: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/30.jpg)
Each measure in one columnEach measure in one column
![Page 31: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/31.jpg)
Know your datasetKnow your dataset
![Page 32: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/32.jpg)
Know your datasetKnow your dataset
How is it formatted?How many records are there?What are the variable labels?Is there a user guide or data dictionary?
![Page 33: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/33.jpg)
![Page 34: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/34.jpg)
Checking your workChecking your work
Statistics Canada table , Labour force characteristics by province, monthly,
unadjusted for seasonality.14-10-0017-02
![Page 35: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/35.jpg)
Checking your workChecking your work
Statistics Canada table , Labour force characteristics by province, monthly,
unadjusted for seasonality.14-10-0017-02
![Page 36: Ta b l ea u I n t ro to d a ta v i s u a l i za t i o n w i t h · 2021. 6. 30. · F ig u res o n th is a nd th e nex t s l ide fro m S teph en Few, “Ta pping th e Power o f Vis](https://reader035.vdocuments.us/reader035/viewer/2022071607/61455d5e34130627ed50edea/html5/thumbnails/36.jpg)
Hands-on practiceHands-on practice