Charts Case Study

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

EXCEL 2016 CASE STUDY

CHARTS CASE STUDY


Excel Case Study

Charts: Case Study


In this case study, we will create common Charts to visualize Sachin’s batting record.

© www.Trainedge.co.in Page 2
Excel Case Study

Description
In this case study, we will analyze the batting performance of Sachin Tendulkar using Charts
in Excel.

In this case study, we will use the following charts to visualize Sachin’s performance in test
cricket:

 Line chart to see trends in his batting performance

 Column, Bar and Pie chart to analyze his performance against each opposition

 Histogram to visually identify most common mode of dismissal

 Treemap chart to visualize his performance against each opposition by ground

 Trendline to quickly visualize his performance over the years

 3D map to visualize his performance against each county by city

Solution

Open workbook Charts_Case Study.xlsx.

Follow the steps to complete this case study:

1. Worksheet Base Data has runs scored by Sachin in each inning he played. The data
is stored starting from his first test inning to the last one. We will create a line chart
with a trendline to see trends in his batting performance.

In sheet Base Data, select cell range A2:A330.

On Insert tab, in the Charts group, select Line chart. From the drop down list, select the first
option, Line chart. Excel inserts a line chart in the worksheet.

You can see how Sachin’s batting went through peaks and troughs through his career.

Click the Plus button next to the chart to open Chart Elements menu. Select the Trendline
checkbox. Click the small arrow next to it and select More Options.

On the Format Trendline pane, under Trendline Options, select Moving Average and
type 10 in the Period entry box.

On the Fill tab, select Solid line and color as Red to distinguish the trendline form the chart.

Excel adds a trendline to the chart. This trendline plots Sachin’s batting average every 10
innings. The 10-innings moving average is a better indicator of form as it evens out variation
in individual innings. This trendline clearly shows that he had hit a trough towards the end of
his career.

© www.Trainedge.co.in Page 3
Excel Case Study

Close the Format Trendline pane.

2. You can get a similar visualization, although much smaller in size, by using
Sparkline. Select cell A331.

On the Insert tab, select Line Sparkline (first option) in Sparklines group. Excel displays
the Create Sparklines dialog box.

In the Data Range, select A2:A330. Click OK.

Excel inserts Line Sparkline in cell A331. You can see the trend in Sachin’s scores in the
sparkline, just like in a line chart, but at a smaller scale.

Select cell A331. On the Sparkline Tools Design contextual tab, in the Show group, select
High Point and Low Point check boxes.

Excel displays Sachin’s highest score (248) and lowest scores (0) in the sparkline.

3. Select Worksheet Country Total.

This worksheet shows how many runs Sachin scored against each country. We will use
column, bar and pie charts to visualize this information.

Select cell range A1:B10.

On Insert tab, in the Charts group, select Column chart. From the drop down list, select the
first option in the second row (3-D Clustered Column). Excel inserts a column chart in the
worksheet.

Select the chart. Excel displays Chart Tools contextual tabs. On the Design contextual tab,
click Quick Layout in Chart Layouts group. Select Layout 4 from the list. The layout is
applied to the chart.

Notice that there is no chart title now. Let’s add one.

Click Plus button next to the chart. Select Chart Title check box. The chart title is added to
the chart.

Click inside Chart Title text box and change the chart title to Runs Scored by Opposition.

We can also display the same information in bar chart. To do that, select the chart and on
Design contextual tab, click Change Chart Type in the Type group. Excel displays Change
Chart Type dialog box.

Select Bar in the list of chart types in the left column. Select the second chart style under
clustered bars.

Click OK. Excel now displays the data in the form of bar chart.

© www.Trainedge.co.in Page 4
Excel Case Study

Using column and bar charts, we can quickly see that Sachin scored most runs against
Australia and least against Bangladesh.

Let’s now represent the same data in pie chart.

Select the chart and on Design contextual tab, click Change Chart Type in the Type group.
Excel displays Change Chart Type dialog box.

Select Pie in the list of chart types in the left column. Select the second chart style.

Click OK. Excel now displays the data in the form of Pie chart.

On Design tab, in the Chart Styles group, select Style 11. The appearance of the chart
changes to match the applied style. You can also see that Sachin scored 23% of his runs
against Australia.

4. Next, we will use Histogram to see what was his most common mode of dismissal.

Select worksheet Dismissals. This sheet lists the frequency of different modes of dismissal.

Select cell range A1:B7.

On Insert tab, in the Charts group, select Insert Statistic Chart (second option on 2nd row).

From the drop down list, select the first option (Histogram).

Excel displays a histogram for the modes of dismissal. A histogram shows the frequency of
occurrence of a given value. The values are usually grouped into ranges or bins for ease of
plotting.

If the horizontal axis does not display modes of dismissal, you will need to change the
horizontal axis options.

To do that, select the chart. Click the Plus button next to the chart to display Chart
Elements menu.

Click the small arrow next to Axes and select More Axis Options. Excel displays Format
Axis pane.

On the Format Axis pane, under Axis Options, select the By Category radio button under
Bins. The chart now displays modes of dismissal along the horizontal axis.

You can see that Sachin’s most common mode of dismissal was Caught.

5. Sachin played a lot of matches around the world. Let’s see how he performed against
different opposition in different grounds.

Select worksheet Grouped Data.

© www.Trainedge.co.in Page 5
Excel Case Study

This worksheet has information about each innings Sachin played in tests, grouped by
country and then by the ground.

Select cell range A2:C105.

On Insert tab, in the Charts group, select Insert Hierarchy Chart (second option on first
row).

From the drop down list, select the first option (Treemap). Excel displays the data in the
form of Treemap. A Treemap is very handy in understanding data that is grouped into
categories and subcategories, for example, sales of different products in a product category.

In this chart, each opposition is shown as a branch and each ground as a sub-branch. You
can easily see the proportion of runs scored against different opposition and at different
grounds against a given opposition.

Change the chart title to Performance Against Opposition, By Ground.

6. Finally, we will use the 3D Map to plot Sachin’s performance against each country on
a globe.

On worksheet Base Data, select cell range A1:E330.

On Insert tab, select 3D Maps in Tours group. Excel opens a new window with a 3D globe.

In the 3D Map window, on the Home tab, select Map Label in the Map group. Excel
displays county names on the globe.

In the Layer Pane on the right hand side of 3D Map window, on the Data tab, select
Stacked Column (first graph icon).

In the Location box, make sure Ground radio button is selected.

In the Height box, click Add Fields and select Runs from the list of fields.

In Layer Options, set Height and Thickness to 200%.

Click Customize under Data Card at the bottom of the Layer Pane. In the Customize Data
Card dialog box, click the Sigma and select Sum form the list to display total runs scored by
Sachin at each ground. Click OK.

You should now see Sachin’s scores at each ground around the world plotted on the globe.
Rotate the globe to see how it appears in different countries.

© www.Trainedge.co.in Page 6

You might also like