1/36
Looks like no tags are added yet.
Data visualization
The presentation of data in a pictorial or graphical format.
Trends or patterns in the data to be identified; more difficult concepts to be easily grasped; the presentation of analyses results.
What does creating visualizations allow us to do
Charts/graphs, Interactive charts/graphs, Dashboards, Infographics
Examples of visualizations:
1.Focus on requirements (Business need, who uses it, by whom); 2. What is the content that you’re trying to visualize? 3. What data/attributes are available to visualize? 4. Does the data need to be aggregated (sum, count, average), or filtered? 5. After any necessary aggregation or filtering, what type of data will be included on the chart?
How to determine what type of chart?
Data
Often discussed in terms of variables.
Variables
Any characteristic that varies from one member of a population to another.
height in inches (varies person to person); number of items sold (varies from order to order); profit (varies day to day).
Examples of variables
Numerical and Categorical
What are the two types of variables
Numerical Variables
Variables to which a number is assigned as a quantitative value.
Categorical Variables
Variables defined by the classes or categories into which an individual member falls.
Discrete and Continuous
What are the two types of numerical variables
Discrete numerical variables
Reflects a number obtained by counting—no decimal. Gaps between possible values (number of orders 1, 5, 7 etc. No 1.5 orders).
Continuous numerical variables
Reflects a measurement; the number of decimal places depends on the precision of the measuring device. (e.g. money spent $228.58).
Nominal variables and Ordinal Variables
What are the two types of categorical variables?
Nominal categorical variables
Name only (e.g. Gender — female, male, hair color — black, brown, red etc).
Ordinal categorical variables
Nominal categories with an implied order (e.g. low, medium, high).
Nominal
What type of variables are Gender and Job?
Continuous
What type of variable is salary?
Ordinal
What type of variable is performance? (low, medium, high)
Discrete
What type of variable is team size?
Bar/Column or clustered stacked bar/column chart (after using sum/count aggregation).
What chart should you use if you have one or more categorical variables?
Bar/Column or clustered stacked bar/column chart (after using aggregation).
Which chart should you use if you have one or more categorical variables and a numerical variable
Line graph if one variable has continuous intervals. Scatter plot if neither variable is continuous.
Which chart should you use if you have two numerical variables?
Word Cloud
Which chart should you use to visualize the frequency of words in text?
Use map
Which chart should you use to visualize data geographically?
Bar/Column
Product category-Categorical variable, Quantity sold- numerical variable, Aggregate (using sum) the quantity sold for each product category.
Clustered bar/column and Stacked Column
Product category—categorical variable, Gender—categorical variable, Quantity sold-numerical variable, Aggregate (using sum) the quantity sold for each product category by each gender.
Line
Month - numerical with continuous interval if all months are represented. Year - numerical. Sales - numerical.
Scatter plot
Number of emails to customer service - numerical. Household income - numerical. No aggregation needed! Negative relationship between these variables.
Positive, Negative, Null, Linear, Exponential, and U-shaped.
What are the 6 different directions for a scatter plot?
Word Cloud
Product names - text data.
Map
Gender - categorical, Sales - numerical, and state - geographical/categorical.
Title, Axis Titles, Legend, and Data labels
What are the elements of a graph?
Title
A descriptive text that uniquely identifies the graph. The title should not just repeat the labels, but add information specific to what the data represents.
Axis titles
A short descriptive label that represents each axis.
Legend
Many charts will use different visual properties such as colors or shapes to represent different values of data. A legend identifies what these associations mean. Not every chart has a legend.
Data labels
Numerical values for each data point visualized in the graph. Data labels are not applicable to every graph (e.g. map, word cloud).