SlideShare a Scribd company logo
Mafas Raheem | Lecturer | APU]
[raheem@staffemail.apu.edu.my]
Data Visualization
Using TABLEAU
Google Trends: Comparison As of 30th June 2020
Let’s look at some data
Let’s look at some data…with statistical analysis
Let’s look at some data…visually
Source: Wikipedia
Why visualize?
Data visualization is not a personal preference, to be done “just in case some
people are more visual.” It is a necessity!
• The previous slide is a classic example of how some insights can only be
found through visualization.
The first step in understanding your data should always be to examine it visually.
Visualization can play a critical role in helping you figure out what the interesting
questions are.
Remember the picture superiority effect: pictures are retained at much higher
rates than words.
Why visualize?
A good visualization reduces the time to insight. Here’s a simple example:
You receive a report of monthly revenues by product and region. Which were
your five highest-revenue product/regions last month?
Why visualize?
Let’s add color:
Color automatically focused your brain – no mental calculations/comparisons needed!
For some applications, eliminating all distractions with a very simple viz
can be effective:
How many nines are there?
How many nines are there?
Using Color
FACT: approximately 8% of men worldwide are color blind.
• Avoid red/green palettes! Blue/orange is a good alternative.
• For continuous data, color ramps are effective.
• For discrete data, always try to limit colors (under 5 is ideal).
– The use of too many colors makes it hard to distinguish, and also requires
frequent referencing of the legend.
– If you limit yourself to just a few colors, then your audience can actually
remember what’s what. Be kind to your reader!
Color me impressed
Humans can only distinguish ~8 colors at a time
Using Color
Color Me Impressed
For quantitative data, color intensity and diverging palettes work well
Pie Charts – NO!
From visualization guru Edward Tufte: “the only worse design than a pie chart is several of
them.”
Pie charts are tempting because everyone understands what they are meant to convey (the
various parts of a whole), but it is much harder to compare slices of a pie than it is to compare
length or height (especially when slices become very thin):
Website Traffic by Month
January
February
March
April
May
June
July
August
September
October
November
December 0
1000
2000
3000
4000
5000
6000
7000
Website Traffic by Month
Best Practices
Best Practices
Orient data so people can read it
Type of data
Pre-attentive Visual
Attributes
How do Humans Like Their Data?
Tableau1 Basics-Dashboards.pptx
The Tableau User Interface
Let’s use the Superstore_US_2015 dataset in Tableau to explore various areas of
the tool/platform. You will have plenty of practice with this UI; this is just a quick
orientation so you will know the basics and can start exploring for yourself.
www.superdatascience.com/tableau --> Superstore_US_2015.xlsx
Menus & Toolbar
New sheet tabs are found at
the bottom.
We can create sheets,
dashboards, and stories with
these tabs.
We can also do things like
rename the sheets, drag to
rearrange them, duplicate
sheets, copy formatting, and
many other things.
New Sheet
Create a new sheet – this is a blank sheet. Sheets are
where we build visualizations.
At the top, we have the menus. (The layout may look slightly different on a Mac.).
The menus contain a lot of powerful controls – after today’s class, every student
should spend some time clicking through to see what options they contain.
Below is the toolbar, with buttons like undo – there is no limit to how much you can
undo, and this is a very important button that allows you to explore! (will be grayed
out since we have not yet done anything)
Here we also have save – there’s no automatic save in Tableau, so make sure to
save your work periodically.
Menus & Toolbar
Menus & Toolbar
Menus – Various
menus available with
sub-menus.
Toolbar– Relevant
tools are also
available in the
toolbar underneath
the menu bar.
On the left of the screen is the data window.
If we’re on the data tab, the top lists all open data connections, and
depending on which one is selected, the fields from that data source
are listed below, broken out into dimensions and measures.
The data window will also show any sets or parameters you may have.
Data Window
Shelves & Cards
Every worksheet in Tableau
contains shelves and cards, such
as Columns, Rows, Marks,
Filters, Pages, Legends, and
more.
By placing fields on shelves or
cards, you:
Build the structure of your
visualization.
Increase the level of detail and
control the number of marks in
the view by including or
excluding data.
Shelves & Cards
Filter shelf – this is an
important feature that you are
likely to use a lot
Drag Product Category to
Filters as an example, and
then Show Filter (formerly
Show Quick Filter)
If you don’t want the “All”
option for some reason, just
click the Quick Filter’s drop-
down menu and look under
Customize.
Shelves & Cards
Add context to the visualization by
encoding marks with color, size,
shape, text, and detail.
Experiment with placing fields on
different shelves and cards to find
the optimal way to look at your
data.
• Marks Card
The Marks Card is made up of
several other shelves, each of
which can have fields placed on
them and can be clicked on to
edit their characteristics
Add New Dashboards & Stories
Note that we can also add a new dashboard or story instead of a simple
sheet. There are ways to organize multiple sheets in a single view or sequence
of views – we will cover them in detail later.
The Shaffer 4 C’s of Data Visualization
Clear – Easily seen; sharply
defined
• Who’s the audience? What’s
the message?
• Clarity more important than
aesthetics
Clean – thorough; complete;
unadulterated
• Labels, axis, gridlines,
formatting, right chart type,
color choice, etc.
Concise – brief but
comprehensive
• Not minimalists but not verbose
Captivating – to attract and hold
by beauty or excellence
• Does it capture attention? Is it
interesting? Does it tell the
story?
SECTION 1: GETTING STARTED
This is an Excel file
SuperStoreUS_2015.xlsx
PRACTICAL 1: INTERFACE EXPLORATION
Basic
Data Visualization Chart
4 minutes and
59 seconds
Open Tableau  Connect  Excel File 
SuperStoreUS_2015.xlsx
Choose the Order tab
Connect the data set
Question:
Find out which state or
province is making the
maximum profit from the
given data sheet.
First Step:
Take a look at the
dimensions and
measures which can
answer the given
question.
Tableau Worksheet
Tableau1 Basics-Dashboards.pptx
Paying Attention to Pill Color
When we bring a field into the view from the Data Window, Tableau creates a pill. The pill color
indicates whether the pill is continuous or discrete. Discrete pills are BLUE, Continuous pills are
GREEN.
Paying Attention to Pill Color
Continuous
Discrete
Text and categories
are inherently
discrete. Numbers
can also be discrete
if they can only take
one of a limited set
of distinct, separate
values. On the
other hand,
numbers are
continuous if they
can take on any
value in a range.
Dimensions & Measures
In Tableau, dimensions set the granularity, or the level of detail in the view. Think of
them as the things you group by or drill down by. Dimensions are usually (but not
always) categorical fields such as Order Priority and City.
It does not make sense to think about computing an average city or average priority
(these are words) – it makes sense to slice or group the data using these fields. We
typically want to view our data by some combination of these categories.
What dimensions we use to build the view will determine how many marks we have
– Order Priority has 4 categories, so it would give us 4 marks.
Dimensions & Measures
Measures are usually numerical data like Shipping Cost. Inside of Tableau,
measures are aggregations – they’re aggregated up to the granularity set by the
dimensions in the view. Think of them as the data elements that you want to perform
calculations on.
The value of a measure therefore depends on the context of the dimensions. For
example, the result for the sum of Shipping Cost (double click it) is different if we
have no dimensions in the view (just a single overall sum) versus when we add
Order Priority (double click it) as a dimension – now we have a sum for each
priority level.
Dimensions & Measures
Dimensions & Measures
Remember:
Dimensions
come out onto
the view as
themselves
Measures
come out onto
the view as
aggregates
Axis vs. Label
New sheet. Let’s look at things
by Year – drag Order Date to
Columns.
If I then add a continuous pill, it
creates an axis – drag Profit to
Rows, change to bar chart.
Now we have an axis showing
profit measure for quarter of the
year.
Axis vs. Label
New sheet, drag Order Date to columns again, now drag something discrete to rows – Product
Sub-Category. Now it gives a series of panes. Let’s put some numbers in those panes. For
example, drag Shipping Cost to color to create a heat map (more on those later).
Axis vs. Label
PRACTICAL 2:
CALCULATED VALUES AND BASIC CHARTS
Download the
OfficeSupplied.csv
data set from
https://www.superdatas
cience.com/pages/table
au
Loading and viewing the data set
It’s EOFY and that
means time for annual
bonuses!
The store operates in
three regions and only
the top-performing
employee in each
region qualifies for a
bonus.
Find out which three
employees are eligible
(based on total sales $)
to get bonuses for this
year.
Task
Adding Labels and Formatting
Exporting the Viz
www.superdatascience.com
PRACTICAL 3:
TIME SERIES, AGGREGATION AND FILTERS
• Draw a line chart using Period and Unemployed + add Granularity
Working with TIMESERIES
Observing the data points and the granularity
Granularity
the scale or level of detail
in a set of data.
Analysis -> Aggregate Measures (Uncheck)
Change the Line chart to a shape chart to view every single data point
Uncheck Aggregate Measures
Aggregate Vs. Uncheck aggregate Measures
Increasing Granularity
Create an Area Chart to
visualize the Long term
unemployment statistics
with granularity at
Month level and Age as
detail
Gender  Filters Shelf
Add as Quick Filter
Dashboards & Stories
A way to visualise multiple sheets together. Visualizing all the sheets together in an
effective way to analyse the data and enable better decision making
PRACTICAL 4:
Dashboards and Storytelling
Tableau1 Basics-Dashboards.pptx
How to set Geographical roles?
There are no dimensions or measures with the Globe
symbol which can be used for geographical input.
Also, there is no measure with the name Latitude and
Longitude that can be used in a map!!
Which field denote a geographical region?
Region  Geographic Role  State/Province
Tableau1 Basics-Dashboards.pptx
Set color to region & Table Calculation
Quick Table Calculations
Quick table calculations allow you to quickly
apply a common table calculation to your
visualization using the most typical settings
for that calculation type.
Creating Bins & Distributions
Sometimes it's useful to convert a continuous measure (or a numeric dimension)
into bins.
Any discrete field in Tableau can be considered as a set of bins.
Tableau1 Basics-Dashboards.pptx
Tableau1 Basics-Dashboards.pptx
Visualise customers by Age bins
Now the Age (Bin) appears in Dimensions
(in blue color). The Measure ‘Age’ has been
converted to Age (Bins) which is a category
now.
Binning is a way to group a number
of more or less continuous values into
a smaller number of "bins".
Tableau1 Basics-Dashboards.pptx
Visualise customers by Balance bins
Clue: Create bins with the size of 10000
Parameters in Tableau
Leveraging the power of parameters
In data discovery and exploration, the design of
data visuals should be agile and fast.
For instance, how to change the size of the
Balance bins during presentation mode?
The normal steps are:
Go to Balance(bins)  Right Click  Edit 
Change the size of the bins
This is a very tedious process when the size of
the bin has to be changed multiple times.
Hence, parameters are controls which gives us
easy access to do the same.
Create parameter for Balance bin
Use allowable values: Range (5000, 25000, 5000)
Create parameter for Age
Use allowable values: List (1, 5, 10)
Use treemaps to display data in
nested rectangles. You use
dimensions to define the structure
of the treemap, and measures to
define the size or color of the
individual
rectangles. Treemaps are a
relatively simple data visualization
that can provide insight in a
visually attractive format.
Create Tree map
Tree map chart to visualise the
job classification and total
number of records.
Create a Customer Segmentation Dashboard
Create a Dashboard – Check the sheets
Dashboard
A dashboard is a
collection of several
views, letting you
compare a variety of
data simultaneously.
Like worksheets,
you
access dashboards
from tabs at the
bottom of a
workbook
Dashboard
Adding an Interactive Action Filter
Highlighting is different compared to Filtering
Filter – allows only the values selected. The other values are removed
from view
Highlight – retains all values and highlights the selected values.
Highlighting Vs. Filter
Create a story in Tableau
A story is a sequence of visualisations that work together to convey information. You can
create stories to tell a data narrative, provide context, demonstrate how decisions relate
to outcomes or to simply make a compelling case.
Tableau1 Basics-Dashboards.pptx
Tableau1 Basics-Dashboards.pptx
PersonalVehicleSalesGlobal.xlsx
https://www.superdatascience.com/pages/tableau
Questions
1. Visualize the total value of the vehicles sold by year
2. Visualize the total value of the vehicles sold by year and region
3. Visualize the total value of the vehicles sold by year and region in
percentages
4. Visualize the geographical map by the sales value of vehicles sold
and filter by year
5. Create a dashboard
6. Create a storyline on the above visuals.
• In general, there are four types of joins that you can use to combine your data
in Tableau: inner, left, right, and full outer.
• The tables you can join and the different join types you can use depend on the
database or file you connect to.
• You can tell which join types your data supports by checking the join dialog
after you've connected to your data and have at least two tables on the canvas.
• Source: https://onlinehelp.tableau.com/current/pro/desktop/en-
us/joining_tables.htm
Joins in Tableau
Tableau1 Basics-Dashboards.pptx
Tableau1 Basics-Dashboards.pptx
• Dataset:
https://www.superdatascience.com/pages/tabl
eau
Section 4: Maps and Scatterplots
Create a customer scatter plot
The attached excel file has three tabs. In
this section we will use only the first two.
AmazingMartEU2.xlsx
Create a customer scatter plot
https://www.ted.com/talks/hans_rosling_shows_the_b
est_stats_you_ve_ever_seen
The best stats you
have seen…!
www.superdatascience.com/tableau-advanced
Animations (Additional Topic)
The Challenge
You have been hired by the World Bank as a Tableau Developer.
Your first assignment is to deliver an animated visual/dashboard showing how
populations of countries across World have been developing over the past 50 years.
Specifically, the stakeholders of this assignment are interested to see overall trends
in fertility, life expectancy and population. In addition to overall trends they would
like to be able to drill into individual countries.
• Data preparation:
• Pivot the fields with year
• Rename the pivot fields
and names appropriately
Connecting the Data Sources
Edit Blending Relationships
Tableau1 Basics-Dashboards.pptx
Tableau1 Basics-Dashboards.pptx
IronViz Vizforsocialgood Storytellingwithdata
https://vimeo.com/148163183
Tableau1 Basics-Dashboards.pptx

More Related Content

DOCX
Tutorial for Beginners WHAT IS TABLEAU.docx
PDF
Design for Delight
PPTX
GC TUG Spring 2024 - Dashboard Actions.pptx
PDF
introduction_to_tableau_-_users_guid.pdf
PPTX
Extension presentation
PDF
Intelligent design tableau 3
PPTX
Unlock your data analytics with tableau
PPTX
this ppt contains tableau in deep learning techniques
Tutorial for Beginners WHAT IS TABLEAU.docx
Design for Delight
GC TUG Spring 2024 - Dashboard Actions.pptx
introduction_to_tableau_-_users_guid.pdf
Extension presentation
Intelligent design tableau 3
Unlock your data analytics with tableau
this ppt contains tableau in deep learning techniques

Similar to Tableau1 Basics-Dashboards.pptx (20)

DOCX
manual.docx
PPTX
Tableau Business Intelligence and Analytics
PDF
How to select and create an effective visual for your business presentation
PDF
Creating Functional Art in Excel
PPTX
Business Anaytics lecture notes1.docx (2).pptx
PDF
Tableau online training || Tableau Server
PDF
Tableau online training || Tableau Server
DOCX
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
PDF
Data visualization data sources data types
PDF
Tableau online training
PDF
DATA VISUALIZATION
PPTX
Introduction to Data Visualization_Day 1.pptx
PDF
Data visualization data sources data types- visual design
PPTX
Data Visualization_principlesclasss.pptx
PDF
Tableau Final Presentation
PPTX
Tableau Presentation
PDF
The Data Stroytelling Handbook
PDF
Tableau.pdf well detailed with all the steps
PDF
Art and Science of Dashboard Design
PPTX
The Gauge & Widget Advantage for your Dashboard
manual.docx
Tableau Business Intelligence and Analytics
How to select and create an effective visual for your business presentation
Creating Functional Art in Excel
Business Anaytics lecture notes1.docx (2).pptx
Tableau online training || Tableau Server
Tableau online training || Tableau Server
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
Data visualization data sources data types
Tableau online training
DATA VISUALIZATION
Introduction to Data Visualization_Day 1.pptx
Data visualization data sources data types- visual design
Data Visualization_principlesclasss.pptx
Tableau Final Presentation
Tableau Presentation
The Data Stroytelling Handbook
Tableau.pdf well detailed with all the steps
Art and Science of Dashboard Design
The Gauge & Widget Advantage for your Dashboard
Ad

Recently uploaded (20)

PDF
.pdf is not working space design for the following data for the following dat...
PPTX
IB Computer Science - Internal Assessment.pptx
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PPTX
1_Introduction to advance data techniques.pptx
PDF
Business Analytics and business intelligence.pdf
PPT
Reliability_Chapter_ presentation 1221.5784
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PPTX
Business Acumen Training GuidePresentation.pptx
PDF
Clinical guidelines as a resource for EBP(1).pdf
PDF
Mega Projects Data Mega Projects Data
PPTX
Supervised vs unsupervised machine learning algorithms
PPT
Quality review (1)_presentation of this 21
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
PPTX
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
PDF
Fluorescence-microscope_Botany_detailed content
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
.pdf is not working space design for the following data for the following dat...
IB Computer Science - Internal Assessment.pptx
Data_Analytics_and_PowerBI_Presentation.pptx
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
1_Introduction to advance data techniques.pptx
Business Analytics and business intelligence.pdf
Reliability_Chapter_ presentation 1221.5784
Introduction-to-Cloud-ComputingFinal.pptx
Business Acumen Training GuidePresentation.pptx
Clinical guidelines as a resource for EBP(1).pdf
Mega Projects Data Mega Projects Data
Supervised vs unsupervised machine learning algorithms
Quality review (1)_presentation of this 21
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
Fluorescence-microscope_Botany_detailed content
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
Ad

Tableau1 Basics-Dashboards.pptx

  • 1. Mafas Raheem | Lecturer | APU] [raheem@staffemail.apu.edu.my] Data Visualization Using TABLEAU
  • 2. Google Trends: Comparison As of 30th June 2020
  • 3. Let’s look at some data
  • 4. Let’s look at some data…with statistical analysis
  • 5. Let’s look at some data…visually Source: Wikipedia
  • 6. Why visualize? Data visualization is not a personal preference, to be done “just in case some people are more visual.” It is a necessity! • The previous slide is a classic example of how some insights can only be found through visualization. The first step in understanding your data should always be to examine it visually. Visualization can play a critical role in helping you figure out what the interesting questions are. Remember the picture superiority effect: pictures are retained at much higher rates than words.
  • 7. Why visualize? A good visualization reduces the time to insight. Here’s a simple example: You receive a report of monthly revenues by product and region. Which were your five highest-revenue product/regions last month?
  • 8. Why visualize? Let’s add color: Color automatically focused your brain – no mental calculations/comparisons needed! For some applications, eliminating all distractions with a very simple viz can be effective:
  • 9. How many nines are there?
  • 10. How many nines are there?
  • 11. Using Color FACT: approximately 8% of men worldwide are color blind. • Avoid red/green palettes! Blue/orange is a good alternative. • For continuous data, color ramps are effective. • For discrete data, always try to limit colors (under 5 is ideal). – The use of too many colors makes it hard to distinguish, and also requires frequent referencing of the legend. – If you limit yourself to just a few colors, then your audience can actually remember what’s what. Be kind to your reader!
  • 12. Color me impressed Humans can only distinguish ~8 colors at a time Using Color
  • 13. Color Me Impressed For quantitative data, color intensity and diverging palettes work well
  • 14. Pie Charts – NO! From visualization guru Edward Tufte: “the only worse design than a pie chart is several of them.” Pie charts are tempting because everyone understands what they are meant to convey (the various parts of a whole), but it is much harder to compare slices of a pie than it is to compare length or height (especially when slices become very thin): Website Traffic by Month January February March April May June July August September October November December 0 1000 2000 3000 4000 5000 6000 7000 Website Traffic by Month
  • 16. Best Practices Orient data so people can read it
  • 19. How do Humans Like Their Data?
  • 21. The Tableau User Interface
  • 22. Let’s use the Superstore_US_2015 dataset in Tableau to explore various areas of the tool/platform. You will have plenty of practice with this UI; this is just a quick orientation so you will know the basics and can start exploring for yourself. www.superdatascience.com/tableau --> Superstore_US_2015.xlsx Menus & Toolbar
  • 23. New sheet tabs are found at the bottom. We can create sheets, dashboards, and stories with these tabs. We can also do things like rename the sheets, drag to rearrange them, duplicate sheets, copy formatting, and many other things. New Sheet Create a new sheet – this is a blank sheet. Sheets are where we build visualizations.
  • 24. At the top, we have the menus. (The layout may look slightly different on a Mac.). The menus contain a lot of powerful controls – after today’s class, every student should spend some time clicking through to see what options they contain. Below is the toolbar, with buttons like undo – there is no limit to how much you can undo, and this is a very important button that allows you to explore! (will be grayed out since we have not yet done anything) Here we also have save – there’s no automatic save in Tableau, so make sure to save your work periodically. Menus & Toolbar
  • 25. Menus & Toolbar Menus – Various menus available with sub-menus. Toolbar– Relevant tools are also available in the toolbar underneath the menu bar.
  • 26. On the left of the screen is the data window. If we’re on the data tab, the top lists all open data connections, and depending on which one is selected, the fields from that data source are listed below, broken out into dimensions and measures. The data window will also show any sets or parameters you may have. Data Window
  • 27. Shelves & Cards Every worksheet in Tableau contains shelves and cards, such as Columns, Rows, Marks, Filters, Pages, Legends, and more. By placing fields on shelves or cards, you: Build the structure of your visualization. Increase the level of detail and control the number of marks in the view by including or excluding data.
  • 28. Shelves & Cards Filter shelf – this is an important feature that you are likely to use a lot Drag Product Category to Filters as an example, and then Show Filter (formerly Show Quick Filter) If you don’t want the “All” option for some reason, just click the Quick Filter’s drop- down menu and look under Customize.
  • 29. Shelves & Cards Add context to the visualization by encoding marks with color, size, shape, text, and detail. Experiment with placing fields on different shelves and cards to find the optimal way to look at your data. • Marks Card The Marks Card is made up of several other shelves, each of which can have fields placed on them and can be clicked on to edit their characteristics
  • 30. Add New Dashboards & Stories Note that we can also add a new dashboard or story instead of a simple sheet. There are ways to organize multiple sheets in a single view or sequence of views – we will cover them in detail later.
  • 31. The Shaffer 4 C’s of Data Visualization Clear – Easily seen; sharply defined • Who’s the audience? What’s the message? • Clarity more important than aesthetics Clean – thorough; complete; unadulterated • Labels, axis, gridlines, formatting, right chart type, color choice, etc. Concise – brief but comprehensive • Not minimalists but not verbose Captivating – to attract and hold by beauty or excellence • Does it capture attention? Is it interesting? Does it tell the story?
  • 32. SECTION 1: GETTING STARTED This is an Excel file SuperStoreUS_2015.xlsx PRACTICAL 1: INTERFACE EXPLORATION Basic Data Visualization Chart 4 minutes and 59 seconds
  • 33. Open Tableau  Connect  Excel File  SuperStoreUS_2015.xlsx Choose the Order tab Connect the data set
  • 34. Question: Find out which state or province is making the maximum profit from the given data sheet. First Step: Take a look at the dimensions and measures which can answer the given question. Tableau Worksheet
  • 36. Paying Attention to Pill Color
  • 37. When we bring a field into the view from the Data Window, Tableau creates a pill. The pill color indicates whether the pill is continuous or discrete. Discrete pills are BLUE, Continuous pills are GREEN. Paying Attention to Pill Color Continuous Discrete Text and categories are inherently discrete. Numbers can also be discrete if they can only take one of a limited set of distinct, separate values. On the other hand, numbers are continuous if they can take on any value in a range.
  • 39. In Tableau, dimensions set the granularity, or the level of detail in the view. Think of them as the things you group by or drill down by. Dimensions are usually (but not always) categorical fields such as Order Priority and City. It does not make sense to think about computing an average city or average priority (these are words) – it makes sense to slice or group the data using these fields. We typically want to view our data by some combination of these categories. What dimensions we use to build the view will determine how many marks we have – Order Priority has 4 categories, so it would give us 4 marks. Dimensions & Measures
  • 40. Measures are usually numerical data like Shipping Cost. Inside of Tableau, measures are aggregations – they’re aggregated up to the granularity set by the dimensions in the view. Think of them as the data elements that you want to perform calculations on. The value of a measure therefore depends on the context of the dimensions. For example, the result for the sum of Shipping Cost (double click it) is different if we have no dimensions in the view (just a single overall sum) versus when we add Order Priority (double click it) as a dimension – now we have a sum for each priority level. Dimensions & Measures
  • 41. Dimensions & Measures Remember: Dimensions come out onto the view as themselves Measures come out onto the view as aggregates
  • 43. New sheet. Let’s look at things by Year – drag Order Date to Columns. If I then add a continuous pill, it creates an axis – drag Profit to Rows, change to bar chart. Now we have an axis showing profit measure for quarter of the year. Axis vs. Label
  • 44. New sheet, drag Order Date to columns again, now drag something discrete to rows – Product Sub-Category. Now it gives a series of panes. Let’s put some numbers in those panes. For example, drag Shipping Cost to color to create a heat map (more on those later). Axis vs. Label
  • 45. PRACTICAL 2: CALCULATED VALUES AND BASIC CHARTS
  • 46. Download the OfficeSupplied.csv data set from https://www.superdatas cience.com/pages/table au Loading and viewing the data set
  • 47. It’s EOFY and that means time for annual bonuses! The store operates in three regions and only the top-performing employee in each region qualifies for a bonus. Find out which three employees are eligible (based on total sales $) to get bonuses for this year. Task
  • 48. Adding Labels and Formatting
  • 51. • Draw a line chart using Period and Unemployed + add Granularity Working with TIMESERIES
  • 52. Observing the data points and the granularity Granularity the scale or level of detail in a set of data.
  • 53. Analysis -> Aggregate Measures (Uncheck) Change the Line chart to a shape chart to view every single data point Uncheck Aggregate Measures
  • 54. Aggregate Vs. Uncheck aggregate Measures
  • 55. Increasing Granularity Create an Area Chart to visualize the Long term unemployment statistics with granularity at Month level and Age as detail Gender  Filters Shelf Add as Quick Filter
  • 56. Dashboards & Stories A way to visualise multiple sheets together. Visualizing all the sheets together in an effective way to analyse the data and enable better decision making
  • 59. How to set Geographical roles? There are no dimensions or measures with the Globe symbol which can be used for geographical input. Also, there is no measure with the name Latitude and Longitude that can be used in a map!! Which field denote a geographical region? Region  Geographic Role  State/Province
  • 61. Set color to region & Table Calculation
  • 62. Quick Table Calculations Quick table calculations allow you to quickly apply a common table calculation to your visualization using the most typical settings for that calculation type.
  • 63. Creating Bins & Distributions Sometimes it's useful to convert a continuous measure (or a numeric dimension) into bins. Any discrete field in Tableau can be considered as a set of bins.
  • 66. Visualise customers by Age bins Now the Age (Bin) appears in Dimensions (in blue color). The Measure ‘Age’ has been converted to Age (Bins) which is a category now. Binning is a way to group a number of more or less continuous values into a smaller number of "bins".
  • 68. Visualise customers by Balance bins Clue: Create bins with the size of 10000
  • 70. Leveraging the power of parameters In data discovery and exploration, the design of data visuals should be agile and fast. For instance, how to change the size of the Balance bins during presentation mode? The normal steps are: Go to Balance(bins)  Right Click  Edit  Change the size of the bins This is a very tedious process when the size of the bin has to be changed multiple times. Hence, parameters are controls which gives us easy access to do the same.
  • 71. Create parameter for Balance bin Use allowable values: Range (5000, 25000, 5000)
  • 72. Create parameter for Age Use allowable values: List (1, 5, 10)
  • 73. Use treemaps to display data in nested rectangles. You use dimensions to define the structure of the treemap, and measures to define the size or color of the individual rectangles. Treemaps are a relatively simple data visualization that can provide insight in a visually attractive format. Create Tree map Tree map chart to visualise the job classification and total number of records.
  • 74. Create a Customer Segmentation Dashboard
  • 75. Create a Dashboard – Check the sheets
  • 76. Dashboard A dashboard is a collection of several views, letting you compare a variety of data simultaneously. Like worksheets, you access dashboards from tabs at the bottom of a workbook
  • 78. Adding an Interactive Action Filter
  • 79. Highlighting is different compared to Filtering Filter – allows only the values selected. The other values are removed from view Highlight – retains all values and highlights the selected values. Highlighting Vs. Filter
  • 80. Create a story in Tableau A story is a sequence of visualisations that work together to convey information. You can create stories to tell a data narrative, provide context, demonstrate how decisions relate to outcomes or to simply make a compelling case.
  • 84. Questions 1. Visualize the total value of the vehicles sold by year 2. Visualize the total value of the vehicles sold by year and region 3. Visualize the total value of the vehicles sold by year and region in percentages 4. Visualize the geographical map by the sales value of vehicles sold and filter by year 5. Create a dashboard 6. Create a storyline on the above visuals.
  • 85. • In general, there are four types of joins that you can use to combine your data in Tableau: inner, left, right, and full outer. • The tables you can join and the different join types you can use depend on the database or file you connect to. • You can tell which join types your data supports by checking the join dialog after you've connected to your data and have at least two tables on the canvas. • Source: https://onlinehelp.tableau.com/current/pro/desktop/en- us/joining_tables.htm Joins in Tableau
  • 88. • Dataset: https://www.superdatascience.com/pages/tabl eau Section 4: Maps and Scatterplots Create a customer scatter plot The attached excel file has three tabs. In this section we will use only the first two. AmazingMartEU2.xlsx
  • 89. Create a customer scatter plot
  • 92. The Challenge You have been hired by the World Bank as a Tableau Developer. Your first assignment is to deliver an animated visual/dashboard showing how populations of countries across World have been developing over the past 50 years. Specifically, the stakeholders of this assignment are interested to see overall trends in fertility, life expectancy and population. In addition to overall trends they would like to be able to drill into individual countries.
  • 93. • Data preparation: • Pivot the fields with year • Rename the pivot fields and names appropriately Connecting the Data Sources

Editor's Notes

  • #4: Let’s look at some more information about these data sets. By running a few simple statistical tests, we cam determine the mean, variance, correlation and linear regression, which can tell us more about our data. It turns out that these four data sets all have the same means, the same variances, the same x-y correlations, and even boil down to an identical linear regression. In fact, it looks like these four data sets are practically identically based on this analysis.
  • #5: Let’s look at some more information about these data sets. By running a few simple statistical tests, we cam determine the mean, variance, correlation and linear regression, which can tell us more about our data. It turns out that these four data sets all have the same means, the same variances, the same x-y correlations, and even boil down to an identical linear regression. In fact, it looks like these four data sets are practically identically based on this analysis.
  • #6: Here are these same four data sets, plotted visually, with trend lines. Anscombe’s Quartet was created in 1973 by Francis Anscombe, a statistician. He developed this to show the importance of graphing data, as opposed to just applying statistical tests to analyze information. This example is one of the basic reasons that visualization is so important – it helps us identify trends within our data that may be obfuscated by statistical tests, or would take us more time to realize.
  • #7: Picture superiority – this is backed up by decades of research. If you can communicate your data with a well-designed picture, people will remember that much better than a table of numbers…this is more important than ever given how much data is being used in business
  • #8: Picture superiority – this is backed up by decades of research. If you can communicate your data with a well-designed picture, people will remember that much better than a table of numbers…this is more important than ever given how much data is being used in business
  • #13: This is a mistake that is pretty common. You have about 150 different data points and you’re mapping them to color but this is bad because I can’t tell if the blue is Albania or Cameroon
  • #14: When you’re working with quantitative data these two practices work really well. Negative profit as orange and positive profit as blue – red and green are more traditional, but this is color-blind friendly. If I had this bar chart without the colors, I might think that appliances, bookcases, and copiers were all performing about the same for us because their sales are roughly equal. But when I add profit to color on this bar chart it’s immediately obvious that bookcases are actually losing money for us, as are supplies and tables A word of caution – do not overuse color! With a bar chart, it is easy to see that one bar is about twice as long as another. On the other hand, it is nearly impossible to perceive that one color is twice as far along on a color ramp than another color. Color ramps can effectively display general information, but not specifics.
  • #15: There is extensive research showing that people are MUCH worse at interpreting the left-hand chart vs. the right-hand chart. This is a well-established best practice. It is shocking that you still see so many pie charts. Do not be part of the problem!
  • #16: Relative proportions, proportions of the whole = tree maps Relationships between data = scatter plot
  • #17: Orient data so people can read it easily. You read English from left to right so as much as possible, we want our data to go left to right. How many of you have the urge to tilt your head to make the chart on the left easier to read? Don’t make your audience to that! Tilt it for them 
  • #18: Let’s start talking about the different types of data. There are three key types of data. Qualitative, categorical – there is no clear order to the data and they don’t have a clear relationship to each other, they don’t contain numbers Qualitative, ordinal – the have a relationship to each other but you can’t measure the distance between them but you understand how the compare in relationship to one another Quantitative – these data are numbers, you can do math with them, and you know exactly what the difference between them is (their relationship to one anther – the difference between 5% and 10%). Quantitative data can be further broken down into discrete and continuous data. Discrete can be considered a “count” of something, continuous data is a measurement which can be broken down to lower levels of details. Basically, the type of data you have impacts the ways in which you can visually represent it.
  • #19: By visualizing data, we are tapping into our ability to understand information pre-attentively. Pre-attentive attributes are pieces of information we can process visually almost immediately, before sending the information to the attention processing parts of our brain. This is information we process and understand almost subconsciously. These are generally the best ways to present data, because we can see these patterns without thinking too hard.
  • #20: Note that position is the best way across all 3 types of data. We can easily understand the relationship between two data points represented on an x and y axis.
  • #22: Title Slide This class demonstration walks through the fundamentals of how to connect to your data in Tableau Desktop. Students are encouraged to follow along and/or take notes on the provided Student Handout. (instructor suggestion: post screen shots of the files you complete in this class so that students can try to reproduce them later. Consider not including the shelves on your screen shots to challenge the students a little more)
  • #27: Image & Copy
  • #31: Section Header
  • #37: Section Header
  • #39: Section Header
  • #43: Section Header
  • #57: Section Header
  • #64: Section Header
  • #70: Section Header
  • #75: Section Header
  • #81: Section Header