You are on page 1of 50

BUSINESS INTELLIGENCE

LECTURE 05: BUSINESS INTELLIGENCE VISUALIZATION TECHNIQUES

1
2
BUSINESS INTELLIGENCE VS DECISION
SUPPORT SYSTEMS

DATA VISUALIZATION IN BI

INTRODUCTION TO TABLEAU

LOADING DATA AND VISUALIZING


DATA
3
WHY DATA VISUALIZATION?

Data is Data is BORING


SCATTERED—I —I’m LOST and
need an There is
answer! don’t know always TOO
I need MORE what I’m LITTLE OR
INFORMATION! This tabular looking for! TOO MUCH—
data DOESN’T is there a
HELP! right amount
of data?
4
WHY DATA VISUALIZATION?

 90% of information transmitted to


the brain is visual, and visuals are
processed 60,000 x faster in the
brain than text.
 40% of people will respond better
to visual information than plain
text.
5
WHY DATA VISUALIZATION?
6
WHY DATA VISUALIZATION?
7
BENEFITS OF DATA VISUALIZATION

 Expose underlying patterns and relationships within the data


 Observe them through clear visual models
 Increased precision through more effective data insights
 Guided analysis and quicker answers to Why?, What?, When?

High Data Insight


Impact Driven Driven
Visuals Insight Actions
8
DATA VISUALIZATION MATURITY

Predictive Analytics
Business Impact, Business Value

Data Insights

Visualization • Strategic
• What drove the
reports
results?
Traditional Reports • Tactical reports • Why did it
• What will
• What happen? happen next?
• Ad-hoc or On- happened? • Who are my
• Was it better target?
Demand reports
• Detailed than last year? • What contributes
• Simple • Am I within to increased
• Aggregated budget? adoption?
9
DATA VISUALIZATION TOOLS

 Tableau
 QlikView from QlikTech
 D3.js (Data Driven Documents) ➤ uses HTML, CSS and SVG
 Chart.js
 Tibco SpotFire
 IBM Cognos Visual Analytics
 Roambi Analytics
 Google Charts
 FusionCharts
10
INTRODUCTION TO TABLEAU

 Tableau is a brand, not a specific product


 Tableau Desktop: Personal is the entry point for the paid development versions of the software. It
allows you to keep your workbooks private, but connection and distribution options are limited.
 Tableau Desktop: Professional is similar to Tableau Desktop: Personal in that it is a development
version of Tableau. Both the Personal and Professional versions have all of the same development
capabilities, but the Professional version provides full access to every data type and distribution
channel currently available in the software.
 Tableau Public is free download, but this product actually provides development capabilities. The
catch is that the workbooks have to be saved to Tableau’s public cloud, making this an unsuitable
choice for proprietary business data.
 Tableau Reader, Tableau Online, Tableau Server
11
CONNECT TO DATA SOURCE

 Tableau can connect to different data sources:


 File (Excel, CSV, text, json, …)
 Database Server

 Drag file to Tableau

Data Source is shown here,


maybe there are more than one
12
CONNECT TO DATA SOURCE

 Tableau can connect to different data sources:


 File (Excel, CSV, text, json, …)
 SQL Server

 Drag file to Tableau

Sheet(s) from data source are


shown here
13
CONNECT TO DATA SOURCE

 Tableau can connect to different data sources:


 File (Excel, CSV, text, json, …)
 SQL Server

 Drag file to Tableau

To begin, drag sheet(s) here


14
CONNECT TO DATA SOURCE

 Tableau can connect to different data sources:


 File (Excel, CSV, text, json, …)
 SQL Server

 Drag file to Tableau

… and data will show here


15
CONNECT TO DATA SOURCE

 Tableau can connect to different data sources:


 File (Excel, CSV, text, json, …)
 SQL Server

 Drag file to Tableau

To start working, click here


TABLEAU INTERFACE

16
TABLEAU INTERFACE
Data Sources: Displays all of
the data connections in the
workbook.

17
TABLEAU INTERFACE
Dimensions area of the Data pane: A list
of all of the fields in the data source
classified as dimensions

18
TABLEAU INTERFACE

Measures : A list of all the fields in the


data source classified as measures

19
TABLEAU INTERFACE

Sets: If the data source you are using contains at


least one set, or if you have created one or more
sets, they will show up here.

20
TABLEAU INTERFACE

If the workbook you are using contains at least


one parameter, or if you have created one or
more parameters, they will show up here

21
TABLEAU INTERFACE
The Pages Shelf allows you to “flip” through a
“page” for each dimension member

22
TABLEAU INTERFACE
Filters Shelf: Any dimension or measure that
you filter a view by will be displayed here.

23
TABLEAU INTERFACE

Each square in this area is called a Marks


Card, which are called that because they
influence the marks on the view (change color,
size, etc.)

24
TABLEAU INTERFACE

Legend: There are several different


legends that will appear here to show
how the marks are encoded.

25
TABLEAU INTERFACE

Columns Shelf: Fields placed here will


create columns on the view.

26
TABLEAU INTERFACE

Rows Shelf: Fields placed here will


create rows on the view.

27
TABLEAU INTERFACE

Worksheet/View: Each tab in a Tableau


workbook is called a worksheet and the area
that displays a data visualization is a view.

28
29
DIMENSIONS VS MEASURES

 A dimension is a field that can be considered an independent variable.


 By default, Tableau treats any field containing qualitative, categorical information as
a dimension.
 A measure is a field that is a dependent variable; that is, its value is a function of one
or more dimensions.
 Tableau treats any field containing numeric (quantitative) information as a measure.
30
CREATING A BAR CHART

 Drag a measure to
Rows
 Drag a dimensions to
Columns
 Choose chart type
 By default, every
measure on a view in
Tableau is aggregated
in some way. Default
aggregation is SUM
31
INDEPENDENT AXES

 Drag another
dimension into
Rows
32
INDEPENDENT AXES

 Drag another
dimension into
Rows
 or Columns
33
INDEPENDENT AXES

 Drag another
dimension into
Rows
 or Columns
 Can change to other
type of chart (but
choose it wisely)
34
LEVEL OF DETAILS

 Column: Year
 Columns: Global Sales
 Add a dimension to
Detail Marks and change
Color if needed
 As you add dimensions
to the view, the analysis
becomes more granular,
so the level of detail
changes
35
LEVEL OF DETAILS

 Another example:
 Column: EU Sales
 Row: Global Sales
36
LEVEL OF DETAILS

 Another example:
 Column: EU Sales
 Row: Global Sales
 Add Year to Detail

 What conclusion can you


get from this chart?
37
LEVEL OF DETAILS

 Another example:
 Column: EU Sales
 Row: Global Sales
 Add Year to Detail

 Replace EU Sales by JP
Sales, can you get the same
conclusion?
38
CREATING A PIE CHART

 Column: Genre
 Row: Global Sales
39
CREATING A PIE CHART

 Column: Genre
 Row: Global Sales
 Click Show Me then
choose Pie chart
40
CREATING A PIE CHART

 Column: Genre
 Row: Global Sales
 Click Show Me then
choose Pie chart
 Make chart bigger
 Win: Ctrol + Shift + B
 Mac: Cmd + Shift + B
41
CREATING A PIE CHART

 Column: Genre
 Row: Global Sales
 Click Show Me then
choose Pie chart
 Make chart bigger
 Win: Ctrol + Shift + B
 Mac: Cmd + Shift + B

 Drag Genre (from


Data panel) to Label
42
CREATING PARETO CHART

 Column: Genre
 Row: Rank x 2
43
CREATING PARETO CHART

 Column: Genre
 Row: Rank x 2
 Right click 2nd Rank, choose dual
axis
44
CREATING PARETO CHART

 Column: Genre
 Row: Rank x 2
 Right click 2nd Rank, choose dual
axis
 Right click 2nd Rank, choose Mark
Type > Bar
 Change color 1 chart
45
CREATING PARETO CHART

 Column: Genre
 Row: Rank x 2
 Right click 2nd Rank, choose dual
axis
 Right click 2nd Rank, choose Mark
Type > Bar
 Change color 1 chart
 Right click 2nd Rank, choose Quick
Table Calculation > Running Total
46
CREATING PARETO CHART

 Column: Genre
 Row: Rank x 2
 Right click 2nd Rank, choose dual
axis
 Right click 2nd Rank, choose Mark
Type > Bar
 Change color 1 chart
 Right click 1st Rank, choose Quick
Table Calculation > Running Total
47
EXERCISES

1. Download deaths.csv. For each of following exercises, draw in 1 separate sheet. Find
pattern / insight from charts
2. Bar charts:
a) Draw a bar chart with column is Country Name, row is Number of Deaths, add another row is
Death Rate per 1000
b) Draw a bar chart with column is Year, row is Number of Deaths
c) Draw a bar chart with column is Age Group, row is Number of Deaths. Add Sex to Detail Mark,
choose color so that the chart becomes sacked bar chart
48
EXERCISES

3. Draw several pie charts. Explain the reason of choosing dimension.


4. Draw pareto charts with:
a) Age group vs Number of deaths (sort ascending / descending)
b) Age group vs Death Rate per 1000 (sort ascending / descending)
c) Country Name vs Number of deaths
49
EXERCISES

5. Draw line charts with


a) Year vs Number of Death, adding Age Group (exclude all age), coloring Age Group
b) Year vs Number of Death, adding Country Name with color
c) Year vs Death Rate per 100k, adding Age group (exclude all age), coloring Age Group
6. Draw scatter chart with
a) Death Rate per 100k vs Number of Deaths
b) Add country name with color
THE END
TUNGDT27@FE.EDU.VN

50

You might also like