0% found this document useful (0 votes)
9 views113 pages

DV Notes Final Copy Record

digital notes

Uploaded by

Dhilsanth SL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views113 pages

DV Notes Final Copy Record

digital notes

Uploaded by

Dhilsanth SL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 113

CONTENTS

EX .NO PROGRAM PAGE N0

1. PIE CHART

2. BAR CHART

3. LINE CHART

4. SCATTER CHART

5. ERROR SPOTTING

6. VENDOR LIST
7. DASH BOARD

SALES BY SHIP MODE


8.

SALES BY SHIP MODE BY COUNTRY


9.

SALES BY CATEGORY BY SUB-CATERGORY


10 .
EX NO : 1
DATE : PIE CHART

AIM :

To create pie chart for sales and sales % by Country(sorted in descending order) by
using MS-Excel.

ALGORTHIM :

Step 1: Organize Your Data

Ensure your data is organized in two columns:


 Column A: List of Countries (or regions).
 Column B: Sales values for each corresponding country.

Step 2: Calculate the Sales Percentage by Country

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)

Step 3: Sort the Data in Descending Order

 Select the range of data (e.g., A1).


 Go to the Data tab on the ribbon.
 In the Sort & Filter group, click Sort.
 In the Sort By dropdown, select Sales ($).
1
 Choose Descending (Z to A) to sort the data from highest to lowest sales.
Step 4: Create the Pie Chart

 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).

Step 5: Format the Pie Chart

 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 :

Step 1: Organize Your Data

3
Step 2: Calculate the Sales Percentage by Country

Step 3: Sort the Data in Descending Order

4
5
Step 4: Create the Pie Chart

Step 5: Format 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 :

Step 1: Organize Your Data

 Make sure your data is organized with columns representing Country, Year, and
Sales.
 Your table should look something like this:

Step 2 :Round Sales to the Nearest Thousand

 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

Step 3 : Create a Pivot Table


To aggregate the sales by country and year:
 Select your entire data range, including the headers (e.g., Country, Year, Rounded Sales).
 Go to the "Insert" tab, and click on PivotTable (in Excel 2007, it's called "PivotTable").
 In the Create PivotTable dialog:
 Ensure the data range is selected correctly.
 Choose where to place the pivot table (e.g., New Worksheet).
 Click OK.

9
Step 4: Set up the Pivot Table

Now, you need to configure the Pivot Table:


 Drag "Country" to the Rows area.
 Drag "Year" to the Columns area.
 Drag "Rounded Sales" to the Values area.
 By default, it will sum the sales, but you can change the calculation if needed by clicking
on the drop-down arrow next to "Sum of Rounded Sales" and selecting Value Field
Settings to adjust it.

Step 5 : Sort the Pivot Table by Grand Total

To sort the PivotTable by the grand total:


 Click on any of the total values in the Grand Total row.
 Right-click, and choose Sort > Sort Largest to Smallest (or Smallest to Largest,
depending on your preference).

Step 6 : Create the Bar Chart

 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.

Step 7 : Customize the Bar Chart

 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 :

Step 1: Organize Your Data

11
Step 2 :Round Sales to the Nearest Thousand

Step 3 : Create a Pivot Table

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 :

Step 1: Organize Your Data

 First, you need to have your data in a structured format.


 Here's an example of how you can organize your data:

Step 2 : Select Your Data

 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.

Step 3 : Insert Line Chart

 Go to the "Insert" tab on the Excel Ribbon.


 In the Charts group, click on the Line chart icon.
 Choose Line with Markers (or another line chart style that suits your needs).

Step 4 : Adjust Your Chart

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.

Step 5 : Final Adjustments

 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 :

Step 1: Organize Your Data

24
Step 2 : Select Your Data

Step 3 : Insert Line Chart

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 :

Step 1: Organize Your Data

Step 2 : Create a Scatter Chart

Sort the Data:


 Sort your data so that rows with "First Class" ship mode appear at the top.
 Select the data (Country, Ship Mode, Sales).

Step 3 : Insert Scatter Chart

 Go to the Insert tab in Excel.


 Under Charts, select Scatter Chart.

Step 4 : Format the Chart:

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.

Step 5 :Add Labels:

 Right-click on the chart and select Select Data.


 Modify the Series Name to make it clear (e.g., "First Class Sales").
31
 Add data labels by right-clicking a point in the chart and selecting Add Data Labels.
 Style and Adjust:
 Adjust chart titles, legend, and colors to improve clarity.

32
EX NO : 4
DATE : SCATTER CHART

OUTPUT :

Step 1: Organize Your Data

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 :

Step 1: Organize Your Data

 Make sure your data is structured properly in Excel, with columns such as:
 Category
 Sub-Category
 Sales (in thousands)

Step 2 : Sort Data

 Highlight your data range (e.g., A1:C5).


 Go to the Data tab.
 Click on Sort and:
 Sort by: "Sales".
 Order: "Largest to Smallest"

Step 3 : Apply Conditional Formatting

 Highlight the Sales column (e.g., C2:C5).


 Go to the Home tab.
 Click on Conditional Formatting > Color Scales.
 Choose a color scale (e.g., green to red, where green represents higher values and red
lower values).

39
Step 4 : Create Heat Map Table

If you want to make a pivot table with heat map-like visualization:


Highlight the data range.
Go to Insert > PivotTable.
Drag:
 Category to the Row Labels section.
 Sub-Category to the Row Labels section (beneath Category).
 Sales to the Values section.
 Format the pivot table:
 Highlight the sales values in the pivot table.

Step 5 : Fine-Tune Formatting

 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".

Step 6 : Adjust and Customize the Pivot Table

 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.

Step 7 : Customize the Pivot table

 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 :

Step 1: Organize Your Data

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 2 : Select your labels to choose your document

Step 3 : Select Starting document->label options->to choose a label size

Step 4 : Choose select recipients ->browse to upload your mailing list

Step 5 : Arrange your labels->address block to add recipient information

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

Step 8: Complete the merge to finish the process

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

Step 3 : Select Starting document->label options->to choose a label size

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 1 : Organize the Data

Step 2 : Select the one of the City

Step 3: Sort in Descending Order of sales

Step 4: Select the analyze Menu-> Select the pivot Chart ->Select Line chart

Step 5 : Formatting the chart

Step 6 : Copy the line chart

Step 7: In New sheet -> paste the Bar 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

Step 10 : Formatting the bar Chart

Step 11 : Copy the Bar chart

Step 12 : Formatting the charts

63
Step 13 : Adding the data labels to the chart

Step 14 : Select the number option -> change to currency

Step 15 : Change the decimal point to zero

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 :

Step 1 : Organize the Data

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

Step 5 : Formatting the 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

Step 12 : Formatting the charts

76
Step 13 : Adding the data labels to the chart

77
Step 14 : Select the number option -> change to currency

Step 15 : Change the decimal point to zero

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 :

Step 1 : Organize the Data

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.

Load Data into Tableau


 Open Tableau.
 Connect to your data source (e.g., Excel, SQL, CSV).
 Once connected, drag the necessary tables or sheets into the Data Pane.

Step 2 : Create a New Sheet

 In the main Tableau workspace, click on Sheet 1 to create a new sheet.

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.

Step 4 : Break Down by Additional Dimensions

 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.

Step 5 : Customize Your Visualization

 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.

Step 6 : Format and Refine the Bar Chart

 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 :

Step 1 : Organize the Data

89
Step 2 : Create a New Sheet

Step 3 : Drag Fields to Create the View

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 :

Thus the above application has been executed successfully.

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 :

Step 1 : Organize the Data

 Open Tableau and connect to your data source.


 Ensure that the data has fields related to Sales, Ship Mode, and Country.

Create a New Worksheet


 Once the data is loaded, click on the Sheet 1 tab at the bottom to create a new
worksheet.

Step 2 : Drag and Drop Fields in the tableau

 Drag the "Country" field to the Rows shelf.


 Drag the "Ship Mode" field to the Columns shelf.
 Drag the "Sales" field to the Text shelf under Marks

Step 3 : Round Sales to the Nearest Dollar

 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)

 Right-click on the Ship Mode pill in the Columns shelf.


 Choose Sort.
 In the Sort dialog box, select Manual and move First Class to the top of the list.
 Alternatively, you can sort by sales if you want to order the ship modes by sales
value, but manual sorting will ensure First Class is prioritized.

Step 5 : Use a Bar Chart

 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 :

Step 1 : Organize the Data

98
Step 2 : Drag and Drop Fields in the tableau

Step 3 : Round Sales to the Nearest Dollar

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 :

Step 1 : Organize the Data

 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.).

Step 2 : Drag Fields to Columns and Rows in the tableau

 Drag Category to the Columns shelf.


 Drag Sub-Category to the Rows shelf.
 Drag Sales to the Text shelf under the Marks card.

Step 3 : Convert Sales to Thousands

 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.

Step 4 : Sort by Sales Value

 Click on the Sales field in the Rows shelf.


 Sort the data by descending order of sales by clicking the sort icon (downward arrow)
next to the Sales field.
 This ensures the sub-categories with the highest sales are displayed first.

EX NO : 10
105
DATE : SALES BY CATEGORY BY SUB-CATERGORY

OUTPUT :

Step 1 : Organize the Data

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

You might also like