Professional Documents
Culture Documents
DATA VISUALIZATION
Instructor: MA. Nguyen Phat Dat
MODULE 4
1. Review module 3
2. Understand Power BI (Visualization)
3. DAX Calculations
4. Types of charts and dashboard sample
5. Data visualization
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
DAX OPERATORS
Aggregation functions Logical functions act DAX includes a set of The filter and value These functions help
calculate a (scalar) upon an expression to text functions based functions in DAX are you create
value such as count, return information on the library of string some of the most calculations based
sum, average, about the values or functions in Excel, but complex and on dates and time.
minimum, or maximum sets in the expression. which have been powerful, and differ Many of the functions
for all rows in a column modified to work with greatly from Excel in DAX are similar to
or table as defined by tables and columns in functions. the Excel date and
the expression. tabular models time functions
Common examples: Common examples: Common examples: Common examples: Common examples:
SUM AND ( && ) CONCATENATE ALL DATE/DATEDIFF
AVG OR ( || ) FORMAT ALLEXCEPT TODAY/NOW
MIN/MAX IF LEN CALCULATE YEAR/MONTH/DAY
COUNT TRUE/FALSE RIGHT/MID/LEFT FILTER CALENDAR
DISTINCTCOUNT NOT FIND/SUBTITUTE
Source: https://docs.microsoft.com/en-us/dax/dax-function-reference
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
DAX FUNCTION
DAX FUNCTION
DAX FUNCTION
DAX FUNCTION
MODULE 4
1. Review module 3
2. Concept of Power BI
3. DAX Calculations
4. Types of charts and dashboard sample
5. Data visualization
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
7. Types of Charts
Team works:
- What kinds of charts?
- Which types of charts can we include them into
a group ?
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Single Value Single Line Multiples Line Scatter Plot Tree-map Box Plot Filled Map
100M
Sale Volume Sale Volume
Symbol Map
Table Bar Chart Group Bar Bubble Chart Pie Chart Scatter Plot
Chart
Highlight Group Bar Bullet Chart Word Cloud Donut Chart Histogram
Table Chart
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Best practices
Make the values big enough to catch
Single Value attention and stand out.
If you’re using multiple single value items
in your dashboard, it’s important to keep
Best practices
Table Arrange time-based data horizontally
across in separate columns.
Design both the layout and the labeling
simply, attention the substantive points
Columns should be evenly spaced and not
too far apart. The table should only be as
wide as the data content requires.
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Show the exact values and use color to convey relative magnitude
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Best practices
Single Line Select the right interval for your data; you
need to find the right balance by relying on
your domain knowledge of the data.
In most cases, the y axis will start at zero,
if it doesn’t, you’ll need to clearly
demonstrate this to avoid confusing your
audience.
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Best practices
Multiples Line Avoid comparing more than 5 lines in your
chart.
Use color to help differentiate the various
lines in the view.
Avoid using sequential colors to minimize
confusion. Using colors that are distinct
from each other is best.
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Best practices
Group Bar Chart
Be careful about not showing too much
information which can result in a complicated
visualization.
Effective use of color to distinguish the
categories.
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Best practices
Stacked Bar Only use 2-3 categories per group otherwise
it’ll become difficult to.
Chart If you have negative values, you should
avoid this chart.
Effective use of color to distinguish the
categories.
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Best practices
Scatter Plot Use the marks, color can really help in
marking your scatter plots stand out.
Independent variables need to be placed
on the x-axis and dependent variables on
the y axis.
Consider including a trend line to define
the correlation
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Best practices
Bubble Chart Use this chart grab attention and engage
your audience.
Use text labels and colors to make the
chart more effective
Consider using bubbles as a navigation
element to filter data in an interactive
dashboard view
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Best practices
Word Cloud Avoid using fancy font types and use color
sparingly.
Remove common words like “the”, “and”,
etc..
Word clouds do not provide a clear
differentiation between words of similar
sizes, unlike a bar chart.
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Best practices
Pie Chart Limit the number of categories to 4-5.
Use colors to make your most important
value stand out .
Avoid 3D pie charts because they can
distort the perception of the data.
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Best practices
Tree-map Use labels sparingly, only show labels on
the boxes that are big.
Consider including borders in the Treemap
can help view each of the rectangles more
clearly.
Size of the boxes should be a quantity
measure.
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Best practices
Scatter Plot Use the marks, color can really help in
marking your scatter plots stand out.
Independent variables need to be placed
on the x-axis and dependent variables on
the y axis.
Consider including a trend line to define
the correlation.
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Best practices
Histogram Plot with a zero-valued baseline; since the
frequency of data in each bin is implied by
the height of each bar, changing the
baseline or introducing a gap in the scale
will skew the perception of the
distribution of data.
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Shows geographic data using shading on a country or state basis to indicate relationships
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Shows geographic data using a symbol plotted over a longitude and latitude
Symbol Map
Best practices
Consider changing the opacity of the
marks to allow for viewing of the
overlapped marks.
Play with the size of the marks to ensure
clear visibility.
Source: datacatedacademy
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Source: Linkpack
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Source: Linkpack
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Source: Internet.
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Source: Internet
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Source: Internet
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
How to create a
good
dashboard?
Lines
Source: storytellingwithdata
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Bars
Source: storytellingwithdata
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Pie
Avoid: 3D
Source: storytellingwithdata
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Pie
Avoid: 3D
Source: storytellingwithdata
DATA ANALYTICS AND DATA PRIVACY TRAINING COURSE
Table
Source: storytellingwithdata