Dvda
Dvda
V– SEM
Computer Science & Engineering
Department
Lab Manual
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
CERTIFICATE
INDEX
SR. Date of Date of
NO. TITLE Marks Sign
Start Completion
1 Perform exploratory data
analysis on the given
datasetusing python.
2 Calculate mean, median and
mode offirst 50 records in
the given dataset using
python.
3 Perform multiple
linearregression
on data.
4 Perform the logistic
regression ondataset.
5 Use a dataset & apply K
meansclustering to get
insight from data.
6 Perform the decision
tree classification
algorithm using a
dataset.
7 Study the installation of
the tools like PowerBI
tool for data
visualization.
8 Load a dataset from
different sources in
PowerBI and apply
transformations on it.
9 Study and plot various
graphs fordata
visualization on PowerBI
10 Given a case study:
InteractiveData
Analytics with PowerBI
Dashboard.
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
Practical - 01
Aim: Perform exploratory Data Analysis on the given data set using Python.
1|P ag e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
2|P ag e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
3|P ag e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
4|P ag e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
5|P ag e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
6|P ag e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
7|P ag e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
8|P ag e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
9|P ag e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
10 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
11 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
12 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
13 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
14 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
Practical – 02
Aim : Calculate mean, median and mode of the first 50 records in the given dataset using
python.
15 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
16 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
17 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
18 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
19 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
Practical – 06
Aim: Perform the decision tree classification algorithm using adataset.
20 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
21 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
22 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
23 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
24 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
25 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
Practical – 07
Aim: Study and installation of the tools like PowerBI tool for data Visualization. Introduction to Microsoft
Power BI
There are several tools that make it easier for us to analyze the trajectory of business assets using data.
However, Microsoft Power BI is something so unique that makes it super easy to make data-driven decisions.
It is one of the oldest, most famous, and most accessible tools for Data Visualization and businessintelligence.
From different sources, it collects and helps to convert into an interactive dashboard and BI reports. It is
available as a Power BI Desktop, and mobile but also available for it service based on Saas. Business users
use a set of services provided by it to create reports and achieve a goal. It apps help in generating reports,
whereas its services help in publishing reports. It is a cloud-based service provided by Microsoft that helps
viewers to visualize data, and this process is called Data visualization with it.
It helps in sorting, analyzing, and comparing data more frequently and quickly. It is compatible with
various resources like Microsoft Excel, Access Database, SQL Server, which helps make the best choice
for data analysts.
26 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
27 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
Note: Windows Users can ignore the instructions beyond this point. The instructions ahead are
specifically for MAC users.
Since Power BI is not directly available for mac users, we will use an AWS container to runan instance of
windows ten where you can download power BI and install it for use.
2. Select Personal when asked how you plan to use this account
28 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
3. After completing all the steps, you will be asked to enter billing information, which
is a mandatory step.
4. Login into your AWS console, search for “workspaces,” and click on the
Workspacesicon as shown below.
29 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
30 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
When you click launch, you will be prompted to view the workspace console; clicking on this button
will take you to the console where it says that it will take 20 min to set the workspace; typically, it
takes 15-30 mining, my experience.
31 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
6. Now in this waiting time, download the appropriate Workspace RD client from this
link-
https://clients.amazonworkspaces.com/?refid=ps_a134p000006vmxaaai&trkcampaign=acqpaid_
search_brand
7. Now Install this and wait for your Workspace to finish setting up
8. Start the Amazon Workspace client on your Mac, and you should see something like
the below screenshot.
32 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
9. Remember that you did not create a password in step 11. It would help if you were
gettingan email to create a password. Use that password and the username used in
step 11 here.
10. After successful login, you should see something like this.
11. Select Download from the Download Center to download the Power BI Desktop
executable from the Download Center page. Then, specify a 32-bit or 64-bit
installation file to download.
12. Follow all the steps followed for Power BI installation on Windows.
33 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
Practical – 08
Aim: Load a dataset from different sources in PowerBI and apply transformations to it.
Step 2: Click on Excel workbook tab to import the excel datasheet. And choose the
desired excel file from computer drive.
34 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
Select all the desired datasheet appearing on left panel and click on load tab appearing at bottom side.
Step 4: Click on New Source and connect to the new data source. Confirm the column
names in Table 1 (new data source) are the same as that of the Sales table (current data
source).
35 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
Select Table 1, navigate to the “View” tab, and click on Advanced Editor.
Step 7: Select Sales table and click Advance Editor. Replace the M code up to [data]
with the code you copied from Table1 and click done.
After making the necessary changes, the user should review the M code and ensure it accurately
reflects the new data source.
36 | P a g e
Enrollment No.: 2203031050343
Faculty of Engineering & Technology
Subject-Name: Data Analytics and Data Visualization
Laboratory
Subject-Code: 303105315
B.Tech – 3rd Year – 5th Sem
37 | P a g e
Enrollment No.: 2203031050343