Lecture 4
Lecture 4
in Excel
IIMT3643
Faculty of Business and Economics
The University of Hong Kong
Instructor: Dr. Yipu DENG
2
Gantt Chart
• A Gantt chart is a type of bar chart that illustrates a project schedule.
▪ Vertical axis → tasks to be performed; horizontal axis → time intervals
▪ The width of the horizontal bars shows the duration of each task.
▪ It also illustrates the start and finish dates of each task.
➢ DAYS360 → calculate the length of each task
➢ Stacked bar chart
➢ Select data
4
In-class Exercise
• App-related data from the Google Play Store (Excel practice.xlsx)
Chapter 04 Basic Data Viz
in Tableau Desktop
IIMT3643
Faculty of Business and Economics
The University of Hong Kong
Instructor: Dr. Yipu DENG
6
What is Tableau?
• It is a powerful and fastest-growing data visualization tool used in the
Business Intelligence (BI) industry.
▪ BI technology
➢ Provide historical, current, and predictive views of business operations
➢ Handle large amounts of structured and sometimes unstructured data, which helps identify,
develop, and create new strategic business opportunities
→ Facilitate easy interpretation of big data
• Tableau writes optimized SQL queries at the backend to fetch data from the
data source in the desired way and then generates visuals with its high-end
graphics and color schemes.
• It is easy to create data viz in Tableau. We only need to:
▪ Connect to a data source
▪ Drag data fields to desired parts of the interface
7
Tableau Products
• Tableau is a platform which consists of many products.
▪ Tableau Prep
➢ A data preparation tool that allows users to clean, combine, and shape data for analysis
▪ Tableau Desktop
➢ A data visualization tool that allows users to connect to various data sources, analyze
data, and create interactive dashboards
➢ It is not free ($75 per month).
▪ …
10
Tableau Workflow
• How to handle data using Tableau
Desktop?
• Connect to this data source, and focus on the “Country Data” sheet for further
analysis
15
• Data window
16
Y axis
• Arrange the crosstab in descending order based on the Total Users column.
• Set up a new dashboard and add both visualizations (i.e., the bar chart “Total
Libraries by Region” and the crosstab “Country Details”) to it
• Adjust the size of each visualization within the dashboard to ensure clear visibility
• Configure the horizontal bar chart in the dashboard to act as a filter, allowing you to
select a specific region and display corresponding country details in the crosstab.
• Using an inner join, determine the number of records that will result from
this operation.
ORDER TABLE DATE TABLE
Order ID Customer Name Order ID Order Date
101 A 101 Jan 2, 2023
102 B 103 Jan 30, 2023
103 C 104 Feb 1, 2023
107 Feb 1, 2023
25