DV Notes Final Copy Record
DV Notes Final Copy Record
1. PIE CHART
2. BAR CHART
3. LINE CHART
4. SCATTER CHART
5. ERROR SPOTTING
6. VENDOR LIST
7. DASH BOARD
AIM :
To create pie chart for sales and sales % by Country(sorted in descending order) by
using MS-Excel.
ALGORTHIM :
In Column C, next to the sales data, calculate the sales percentage for each country.
To calculate the percentage, use the formula:
Percentage=Sales for the Country/Total Sales * 100
To do this:
In Cell
C2, enter the following formula:
=B2/SUM($B$2:$B$6)
Select the data range for countries and sales (e.g., A1).
Go to the Insert tab on the ribbon.
In the Charts group, click the Pie Chart icon.
Choose the type of pie chart you want (e.g., 2-D Pie).
After the pie chart is created, you can format it to display percentages on the chart:
Right-click on any slice of the pie and select Add Data Labels.
Right-click on the labels and choose Format Data Labels.
Check the option to show Percentage.
You can also customize the chart title by clicking on the title and typing a new name,
such as "Sales by Country".
2
EX NO : 1
DATE : PIE CHART
OUTPUT :
3
Step 2: Calculate the Sales Percentage by Country
4
5
Step 4: Create the Pie Chart
6
7
RESULT :
Thus the above application has been executed successfully.
EX NO : 2
8
DATE : BAR CHART
AIM :
To create bar chart for sales by Country by Year (rounded to nearest thousand and
sorted by grand total) ) by using MS-Excel.
ALGORTHIM :
Make sure your data is organized with columns representing Country, Year, and
Sales.
Your table should look something like this:
Before creating the chart, round the Sales figures to the nearest thousand. You can do
this by creating a new column next to your "Sales" data:
For example, if your sales are in column C, use the following formula in a new
column D to round the sales: =ROUND(C2, -3)
This formula will round the sales figure in cell C2 to the nearest thousand. Then, drag
the formula
9
Step 4: Set up the Pivot Table
Select the entire Pivot Table (including the headers for "Country" and "Year" and the
values).
Go to the Insert tab and choose Bar Chart.
Select a Clustered Bar Chart (or another bar chart style if preferred).
The bar chart will automatically be created.
Add Chart Title by clicking on the default chart title and typing a new one, such as
"Sales by Country and Year."
You can format the axis and legend if needed by right-clicking on them and choosing
the appropriate options.
Optionally, you can adjust the axis labels to show the sales in thousands (e.g., "1,000"
instead of "1,000,000") for easier interpretation.
10
EX NO : 2
DATE : BAR CHART
OUTPUT :
11
Step 2 :Round Sales to the Nearest Thousand
12
Step 4: Set up the Pivot Table
13
Step 5 : Sort the Pivot Table by Grand Total
14
15
Step 6 : Create the Bar Chart
16
17
18
Step 7 : Customize the Bar Chart
19
20
RESULT :
Thus the above application has been executed successfully.
21
EX NO : 3
DATE : LINE CHART
AIM :
To create line chart for sales by ship mode (first class,same day,second class and
standard class) ) by using MS-Excel.
ALGORTHIM :
Highlight the data range (for example, A1, where you have both the months and
sales data).
Make sure to include both the column labels (e.g., "Month,""First Class," etc.) and
the data.
Once the chart is inserted, it should display a line for each ship mode (First Class, Same
Day, Second Class, and Standard Class), plotted against the time periods (e.g., months).
22
Edit Chart Title: Click on the chart title to change it to something more appropriate,
such as "Sales by Ship Mode."
Customize Axes: If necessary, click on the axes to modify them (e.g., you can adjust
the time axis or sales axis scale).
Format Lines: You can change the color and style of each line by clicking on the
lines and selecting the formatting options.
Legend: Make sure the legend is visible and correctly identifies each line with its
respective ship mode.
Data Labels: If you want to display the exact sales values on the chart, you can add
data labels by right-clicking on any of the data points and selecting Add Data Labels.
23
EX NO : 3
DATE : LINE CHART
OUTPUT :
24
Step 2 : Select Your Data
25
26
Step 4 : Adjust Your Chart
27
Step 5 : Final Adjustments
28
29
RESULT :
Thus the above application has been executed successfully.
30
EX NO : 4
DATE : SCATTER CHART
AIM :
To Create Scatter chart for Sales by Ship Mode by Country (rounded to the nearest
dollar and sorted by First Class) ) by using MS-Excel.
ALGORTHIM :
Set Axes:
Use "Country" as the X-axis values (you might need to input them manually, as Excel
might default to numeric values).
Use "Sales" as the Y-axis values.
32
EX NO : 4
DATE : SCATTER CHART
OUTPUT :
33
Step 2 : Create a Scatter Chart
34
Step 3 : Insert Scatter Chart
35
Step 4 : Format the Chart:
36
Step 5 : Add Labels
37
RESULT :
Thus the above application has been executed successfully.
38
EX NO : 5
DATE : HEAP MAP
AIM:
To Create heat map for Sales by Category by Sub-Category (in thousands and sorted
by sales value in descending order ) by using MS-Excel.
ALGORTHIM :
Make sure your data is structured properly in Excel, with columns such as:
Category
Sub-Category
Sales (in thousands)
39
Step 4 : Create Heat Map Table
Ensure your heat map is visually clear by using a two-color scale or data bars for
better visualization.
Add thousands separators to your sales values by:
Right-clicking the numbers.
Selecting Format Cells > Number > Check "Use 1000 Separator".
To make your PivotTable clearer, you can adjust column widths and row heights to fit
the data. If needed, you can also format the numbers in the "Sales" column to show in
thousands (e.g., 30 instead of 30,000) by right-clicking on the values, selecting
Format Cells, and choosing the number format.
You can further customize the appearance of your PivotTable and heat map by adding
borders, adjusting font styles, or using different conditional formatting options.
Consider adding filters to your PivotTable to view specific categories or sub-
categories.
40
EX NO : 5
DATE : HEAP MAP
OUTPUT :
41
Step 2 : Sort Data
42
Step 3 : Apply Conditional Formatting
43
Step 4 : Create Heat Map Table
44
45
46
Step 5 : Fine-Tune Formatting
47
48
49
Step 6 : Adjust and Customize the Pivot Table
50
Step 7 : Customize the Pivot table
51
RESULT :
Thus the above application has been executed successfully.
52
EX NO : 6
DATE : VENDOR LIST
AIM :
To Design and create the label for vendor list by using MS-Word and MS Excel.
ALGORTHIM :
Step 1 : Select Mailings-> Start Mail Merge-> Step by Step Mail Merge Wizard
Step 6: To Replicate the first label, select the update the labels
Step 7: Preview your labels to edit the details such as paragraph spacing
53
EX NO : 6
DATE : VENDOR LIST
OUTPUT :
Step 1: Select Mailings-> Start Mail Merge-> Step by Step Mail Merge Wizard
54
Step 2 : Select your labels to choose your document
55
Step 4 : Choose select recipients ->browse to upload your mailing list
56
57
Step 5 : Arrange your labels->address block to add recipient information
58
Step 6: To Replicate the first label, select the update the labels
59
Step 7: Preview your labels to edit the details such as paragraph spacing
60
Step 8: Complete the merge to finish the process
61
RESULT :
Thus the above application has been executed successfully.
62
EX NO : 7
DATE : DASH BOARD
AIM :
To Design and Create the Dashboard by using MS-Excel.
ALGORTHIM :
Step 4: Select the analyze Menu-> Select the pivot Chart ->Select Line chart
Step 8: Selecting the another city and repeating the same steps
Step 9 : Select the analyze Menu-> Select the pivot Chart ->Select Bar chart
63
Step 13 : Adding the data labels to the chart
Step 16: Select Analyze Menu->select insert slicer for each chart
Step 17: Select any region from slicer ,it will change in chart according
Step 18: Right click on slicer and select-> report connection and select all the pivot
table
64
EX NO : 7
DATE : DASH BOARD
OUTPUT :
65
Step 2 : Select the one of the City
66
Step 3 : Sort in Descending Order of sales
67
Step 4 : Select the analyze Menu-> Select the pivot Chart ->Select Line chart
68
Step 6 : Copy the line chart
69
Step 7 : In New sheet -> paste the Bar chart
70
Step 8 : Selecting the another city and repeating the same steps
71
72
73
Step 9 : Select the analyze Menu-> Select the pivot Chart ->select Bar chart
74
Step 10 : Formatting the bar Chart
75
Step 11 : Copy the Bar chart
76
Step 13 : Adding the data labels to the chart
77
Step 14 : Select the number option -> change to currency
78
Step 16: Select Analyze Menu->select insert slicer for each chart
79
Step 17 : Select any region from slicer ,it will change in chart according
80
Step 19 : Right click on slicer and select-> report connection and select all the pivot
table
81
82
83
84
RESULT :
Thus the above application has been executed successfully.
85
EX NO : 8
DATE : SALES BY SHIP MODE
AIM:
To Create by Ship Mode (First Class, Same Day, Second Class and Standard Class)
by using Tableau.
ALGORTHIM :
Make sure your data source contains the following key fields:
Sales: The sales amount (numeric field).
Ship Mode: The shipping method (categorical field like "First Class", "Same
Day", "Second Class", "Standard Class").
Order Date (optional): If you want to break it down over time.
86
Step 3 : Drag Fields to Create the View
Ship Mode: Drag the Ship Mode field (or whatever field contains your shipping
categories) to the Rows shelf. This will create the rows for each ship mode (e.g., First
Class, Same Day, etc.).
Sales: Drag the Sales field to the Columns shelf. This will create a bar chart showing
total sales by ship mode.
If you want to break down the sales further (e.g., by region or product category), drag
that dimension into the Columns shelf or Filters shelf. You can also use Color on the
Marks card to add additional dimension-based visuals.
Bar Chart: Tableau should automatically create a bar chart for sales by ship mode. If
you want a different chart type, you can change it from the Show Me pane.
Add Labels: To show sales amounts directly on the bars, drag Sales again into the
Label shelf on the Marks card.
Sort the Bars: If you want to sort by total sales, click the drop-down arrow on the
Ship Mode field in the Rows shelf and select Sort.
Format the Axis: Right-click the sales axis and format it to display in currency or to
adjust number formatting.
Add Title: Click on the Title area of the sheet and give it a name like "Sales by Ship
Mode".
87
Adjust the Size: You can resize the bars by adjusting the slider on the Size shelf
within the Marks card.
88
EX NO : 8
DATE : SALES BY SHIP MODE
OUTPUT :
89
Step 2 : Create a New Sheet
90
Step 4 : Break Down by Additional Dimensions
91
Step 5 : Customize Your Visualization
92
Step 6 : Format and Refine the Bar Chart
93
94
RESULT :
95
EX NO : 9
DATE : SALES BY SHIP MODE BY COUNTRY
AIM :
To Create by Ship Mode by Country (rounded to the nearest dollar and sorted by
First class) by using Tableau.
ALGORTHIM :
Right-click on the Sales field in the Text shelf and select Format.
In the Pane tab, change the Number Format to Number (Custom), and set it to
round to 0 decimal places (nearest dollar).
96
Step 4 : Sort by Ship Mode (First Class)
Instead of using the Text shelf, you can change the Marks type to Bar to create a bar
chart for a more visual representation.
In this case, drag Sales to Size (instead of Text), and you'll see a bar chart for each
country and ship mode.
97
EX NO : 9
DATE : SALES BY SHIP MODE BY COUNTRY
OUTPUT :
98
Step 2 : Drag and Drop Fields in the tableau
99
Step 4 : Sort by Ship Mode (First Class)
100
Step 5 : Use a Bar Chart
101
102
RESULT :
Thus the above application has been executed successfully.
103
EX NO : 10
DATE : SALES BY CATEGORY BY SUB-CATERGORY
AIM :
Sales by Category by Sub-Category (in thousands and sorted by sales value in
descending order) by using tableau.
ALGORTHIM :
Ensure you have a dataset that includes fields like Category, Sub-Category, and
Sales.
Make sure that the sales data is numerical, and the category and sub-category fields
are categorical (dimension).
Open Tableau:
Launch Tableau and connect to your dataset (Excel, CSV, database, etc.).
To display sales in thousands, right-click on the SUM(Sales) pill and select Format.
In the Format pane, select the Numbers drop-down and choose Custom.
104
In the Custom formatting box, use a formula like: #,##0,, which divides the value by
1,000.
EX NO : 10
105
DATE : SALES BY CATEGORY BY SUB-CATERGORY
OUTPUT :
106
Step 2 : Drag Fields to Columns and Rows in the tableau
107
108
Step 3 : Convert Sales to Thousands
109
110
Step 4 : Sort by Sales Value
111
RESULT :
Thus the above application has been executed successfully.
112