charting basics.xls

35
Excel Charting Basics About Excel Charts Building a Chart: Two Methods A Gallery of Chart Types Focus on the XY (Scatter) Chart Type Customizing a Chart

Upload: anonymous-ii88lt

Post on 11-Jul-2016

371 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Charting Basics.xls

Excel Charting Basics

About Excel ChartsBuilding a Chart: Two MethodsA Gallery of Chart TypesFocus on the XY (Scatter) Chart TypeCustomizing a Chart

Page 2: Charting Basics.xls

About Excel Charts

An Excel chart provides a graphical view of worksheet data.

A chart is linked to the worksheet data from which it's

created. When the worksheet data changes, the chart

changes automatically.

Charts are almost infinitely customizable. For example:

Even after your chart is created, you can add data to it or

delete data from it.

Change the chart type at any time.

Right-click almost any element of a chart to see its

context menu; then modify the element.

Add your own text to a chart.

Use graphics (instead of geometric shapes) as data markers.

Etc.

A chart in a worksheet "floats" on the surface of the sheet. You

can move a chart "over" worksheet contents without disturbing them.

Page 3: Charting Basics.xls

An Excel chart provides a graphical view of worksheet data.

A chart is linked to the worksheet data from which it's

created. When the worksheet data changes, the chart

Charts are almost infinitely customizable. For example:

Even after your chart is created, you can add data to it or

Right-click almost any element of a chart to see its

Use graphics (instead of geometric shapes) as data markers.

A chart in a worksheet "floats" on the surface of the sheet. You

can move a chart "over" worksheet contents without disturbing them.

Page 4: Charting Basics.xls

Building an Excel Chart

Jan Feb Mar

Widget A 2,500 3,250 4,260

Widget B 1,100 980 1,289

Widget C 4,320 4,289 4,090

Method 1

Select the data to chart (B4:E7).

Hit the F11 key.

Excel creates the default column chart and

locates it on a new worksheet.

Method 2

Select the data to chart (B4:E7).

Go through the 4 Chart Wizard steps.

Excel creates the chart based on your

Wizard-prompt selections.

Jan Feb Mar

-

500

1,000

1,500

2,000

2,500

3,000

3,500

4,000

4,500

5,000

Widget A

Widget B

Widget C

Page 5: Charting Basics.xls

Jan Feb Mar

-

500

1,000

1,500

2,000

2,500

3,000

3,500

4,000

4,500

5,000

Widget A

Widget B

Widget C

Page 6: Charting Basics.xls

Chart Types: A Gallery of Chart Examples

From:

Excel supports many kinds of charts to help you display data in ways that are most

meaningful to your audience. Here's a gallery of chart examples to help you

determine which kinds of charts are best for your data.

Contents:

XY scatterAn xy (scatter) chart either shows the relationships among the numeric values in several data series, or plots two groups of numbers as one series of xy coordinates. This chart shows uneven intervals &151; or clusters &151; of data and is commonly used for scientific data.

When you arrange your data, place x values in one row or column, and then enter corresponding y values in the adjacent rows or columns.

Bubble

http://office.microsoft.com/assistance/2002/articles/ExamplesofChartTypes.aspx

XY Scatter Bubble

Radar Surface

Cone, Cylinder, Pyramid Area

Column Bar

Line Pie

Doughnut Stock

Page 7: Charting Basics.xls

A bubble chart is a type of xy (scatter) chart. The size of the data marker indicates the value of a third variable.

To arrange your data, place the x values in one row or column, and enter corresponding y values and bubble sizes in the adjacent rows or columns.

The chart in this example shows that Company A has the most products and the greatest market share, but not the highest sales.

Radar

A radar chart compares the aggregate values of a number of data series.

In this chart, the data series that covers the most area, Brand A, represents the brand with the highest vitamin content.

Surface

A surface chart is useful when you want to find optimum combinations between two sets of data. As in a topographic map, colors and patterns indicate areas that are in the same range of values.

Page 8: Charting Basics.xls

This chart shows the various combinations of temperature and time that result in the same measure of tensile strength.

Cone, Cylinder, Pyramid

The cone, cylinder, and pyramid data markers can lend a dramatic effect to 3-D column and bar charts.

Area

An area chart emphasizes the magnitude of change over time. By displaying the sum of the plotted values, an area chart also shows the relationship of parts to a whole.

Page 9: Charting Basics.xls

In this example, an area chart emphasizes increased sales in Washington and illustrates the contribution of each state to total sales.

Column

A column chart shows data changes over a period of time or illustrates comparisons among items. Categories are organized horizontally, values vertically, to emphasize variation over time.

Stacked column charts show the relationship of individual items to the whole. The 3-D perspective column chart compares data points along two axes.

In this 3-D chart, you can compare four quarters of sales performance in Europe with the performance of two other divisions.

Bar

A bar chart illustrates comparisons among individual items. Categories are organized vertically, values horizontally, to focus on comparing values and to place less emphasis on time.

Page 10: Charting Basics.xls

Stacked bar charts show the relationship of individual items to the whole.

Line

A line chart shows trends in data at equal intervals.

Pie

A pie chart shows the proportional size of items that make up a data series to the sum of the items. It always shows only one data series and is useful when you want to emphasize a significant element.

To make small slices easier to see, you can group them together as one item in a pie chart and then break down that item in a smaller pie or bar chart next to the main chart.

Doughnut

Page 11: Charting Basics.xls

Like a pie chart, a doughnut chart shows the relationship of parts to a whole, but it can contain more than one data series. Each ring of the doughnut chart represents a data series.

Stock

The high-low-close chart is often used to illustrate stock prices. This chart can also be used for scientific data; for example, to indicate temperature changes. You must organize your data in the correct order to create this and other stock charts.

A stock chart that measures volume has two value axes: one for the columns that measure volume, and the other for the stock prices. You can include volume in a high-low-close or open-high-low-close chart.

Page 12: Charting Basics.xls

An xy (scatter) chart either shows the relationships among the numeric values in several data series, or plots two groups of numbers as one series of xy coordinates. This chart shows uneven intervals &151; or clusters &151; of data and is commonly used for scientific data.

When you arrange your data, place x values in one row or column, and then enter corresponding y values in the adjacent rows or columns.

http://office.microsoft.com/assistance/2002/articles/ExamplesofChartTypes.aspx

Page 13: Charting Basics.xls

A bubble chart is a type of xy (scatter) chart. The size of the data marker indicates the value of a third variable.

To arrange your data, place the x values in one row or column, and enter corresponding y values and bubble sizes in the adjacent rows or columns.

The chart in this example shows that Company A has the most products and the greatest market share, but not the highest sales.

In this chart, the data series that covers the most area, Brand A, represents the brand with the highest vitamin content.

A surface chart is useful when you want to find optimum combinations between two sets of data. As in a topographic map, colors and patterns indicate areas that are in the same range of values.

Page 14: Charting Basics.xls

This chart shows the various combinations of temperature and time that result in the same measure of tensile strength.

The cone, cylinder, and pyramid data markers can lend a dramatic effect to 3-D column and bar charts.

An area chart emphasizes the magnitude of change over time. By displaying the sum of the plotted values, an area chart also shows the relationship of parts to a whole.

Page 15: Charting Basics.xls

In this example, an area chart emphasizes increased sales in Washington and illustrates the contribution of each state to total sales.

A column chart shows data changes over a period of time or illustrates comparisons among items. Categories are organized horizontally, values vertically, to emphasize variation over time.

Stacked column charts show the relationship of individual items to the whole. The 3-D perspective column chart compares data points along two axes.

In this 3-D chart, you can compare four quarters of sales performance in Europe with the performance of two other divisions.

A bar chart illustrates comparisons among individual items. Categories are organized vertically, values horizontally, to focus on comparing values and to place less emphasis on time.

Page 16: Charting Basics.xls

A pie chart shows the proportional size of items that make up a data series to the sum of the items. It always shows only one data series and is useful when you want to emphasize a significant element.

To make small slices easier to see, you can group them together as one item in a pie chart and then break down that item in a smaller pie or bar chart next to the main chart.

Page 17: Charting Basics.xls

Like a pie chart, a doughnut chart shows the relationship of parts to a whole, but it can contain more than one data series. Each ring of the doughnut chart represents a data series.

The high-low-close chart is often used to illustrate stock prices. This chart can also be used for scientific data; for example, to indicate temperature changes. You must organize your data in the correct order to create this and other stock charts.

A stock chart that measures volume has two value axes: one for the columns that measure volume, and the other for the stock prices. You can include volume in a high-low-close or open-high-low-close chart.

Page 18: Charting Basics.xls

An xy (scatter) chart either shows the relationships among the numeric values in several data series, or plots two groups of numbers as one series of xy coordinates. This chart shows uneven intervals &151; or clusters &151; of data and is commonly used for scientific data.

Page 19: Charting Basics.xls
Page 20: Charting Basics.xls
Page 21: Charting Basics.xls
Page 22: Charting Basics.xls
Page 23: Charting Basics.xls

The high-low-close chart is often used to illustrate stock prices. This chart can also be used for scientific data; for example, to indicate temperature changes. You must organize your data in the correct order to create this and other stock charts.

Page 24: Charting Basics.xls

The XY (Scatter) Chart Type

An xy (scatter) chart either shows the relationships among the

numeric values in several data series, or plots two groups of

numbers as one series of xy coordinates. The XY chart shows uneven

intervals or clusters of data and is commonly used for scientific

data. When you arrange your data, place x values in one row or column,

and then enter corresponding y values in the adjacent rows or columns.

Example 1:

Time Temp Predicted Temp

13:01 23.0 22.1

13:25 22.5 22.2

13:45 21.0 22.0

14:01 20.1 20.8

14:25 19.5 20.2

14:45 19.4 20.1

Example 2:

10 100

40 150

50 200

70 250

120 300

The column chart at left isn't a

very satisfactory representation of

the data. The X axis doesn't represent

months open; months open shouldn't

Months Open

Sales in Thousands

X Values Y Values

12:43 12:57 13:12 13:26 13:40 13:55 14:09 14:24 14:38 14:5217.0

18.0

19.0

20.0

21.0

22.0

23.0

24.0

Actual vs. Predicted Temperature

Temp

Predicted Temp

Time

Tem

per

atu

re

At left is data collected from five retail stores. For each store, we have information about how long the store has been open and it's average monthly sales. We need to create a chart that shows the relationship between length of time open and sales.

1 2 3 4 5

0

50

100

150

200

250

300

350 Months Open

Sales in Thousands

Months Open

Sale

s in

Th

ou

san

ds

See the two examples below.

Page 25: Charting Basics.xls

be plotted as columns.

The scatter plot is best suited for this data.

With the data plotted as one series of XY coordinates

the relationship between open months and sales

amounts is much more evident.

1 2 3 4 5

0

50

100

150

200

250

300

350 Months Open

Sales in Thousands

Months Open

Sale

s in

Th

ou

san

ds

0 20 40 60 80 100 120 140

0

50

100

150

200

250

300

350

An XY Plot of the Data

Months Open

Sale

s in

Th

ou

san

ds

Page 26: Charting Basics.xls

The column chart at left isn't a

very satisfactory representation of

the data. The X axis doesn't represent

months open; months open shouldn't

12:43 12:57 13:12 13:26 13:40 13:55 14:09 14:24 14:38 14:5217.0

18.0

19.0

20.0

21.0

22.0

23.0

24.0

Actual vs. Predicted Temperature

Temp

Predicted Temp

Time

Tem

per

atu

re

At left is data collected from five retail stores. For each store, we have information about how long the store has been open and it's average monthly sales. We need to create a chart that shows the relationship between length of time open and sales.

See the two examples below.

Page 27: Charting Basics.xls

be plotted as columns.

The scatter plot is best suited for this data.

With the data plotted as one series of XY coordinates

the relationship between open months and sales

amounts is much more evident.

Page 28: Charting Basics.xls

Customizing Charts

Jan Feb Mar

Widget A 2,500 3,250 4,260 The basic chart data.

Widget B 1,100 980 1,289

Widget C 4,320 4,289 4,090

Contents:

1. Display data in ROWS or COLUMNS. Make this choice in Step 2 of the Chart Wizard.

Do you want Months to display on the X axis and Widget items to display in the legend or the reverse?

2. Add or Modify Labels

Display Data in Rows or Columns Add or Modify LabelsChange Data Markers Change Axis ScaleAdd or Delete Data Location & Printing

Page 29: Charting Basics.xls

3. Change Data Markers

Jan Feb

-

500

1,000

1,500

2,000

2,500

3,000

3,500 Widget A

Widget B

Jan Feb

-

500

1,000

1,500

2,000

2,500

3,000

3,500 Widget A

Widget B

Jan Feb

-

500

1,000

1,500

2,000

2,500

3,000

3,500 Widget A

Widget B

Format the data series and increase gap width between bars.

Format the data series with different fill colors (and gradients).

Jan Feb

-

500

1,000

1,500

2,000

2,500

3,000

3,500 Widget A

Widget B

Change one data marker fill to a picture instead of solid fill.

The original, default chart.

Jan Feb

-

500

1,000

1,500

2,000

2,500

3,000

3,500

2,500

3,250

1,100 980

Widget A

Widget B

Values added to the top of each data marker.

Page 30: Charting Basics.xls

4. Change Axis Scale

5. Add or Delete Data

6. Location & Printing

Jan Feb

-

1,000

2,000

3,000

4,000

5,000 Widget A

Widget B

Right-click the Y Axis, choose Format Axis, then the "Scale" tab.

Jan Feb

-

500

1,000

1,500

2,000

2,500

3,000

3,500 Widget A

Widget B

Jan Feb Mar

-

500

1,000

1,500

2,000

2,500

3,000

3,500

4,000

4,500 Widget A

Widget B

1. Select the chart.2. Re-open the Chart Wizard.3. Go to the Wizard Step 2 and select the "Data Range" tab.4. Redefine the data range to add or exclude data.5. Click the Wizard's Finish button to return to the modified chart.

Page 31: Charting Basics.xls

The last Chart Wizard step gives you the choice of embedding your chart in the same worksheet with the data orputting the chart on a new worksheet that Excel adds to the workbook.

Whatever you decide in this step, you can always change your mind later.

To move a chart from its own sheet to another worksheet, right click the chart and choose Location from the pop-up menu. Then choose a different worksheet.

Use the same technique move a chart embedded on a sheet to its own worksheet.

To print a chart on its own worksheet choose File, Print from the menus.Or, for more options in how the chart will display on the page, choose File, Page Setup and click the "Chart" tab. Select from the "Printed chart size" options.

To print only the chart on a worksheet with data, click the chart to select it and then choose File, Print or File, Page Setup. The same print options described above apply.

To print a chart AND other data on the same worksheet, highlight the range that includes the data and the chart and choose File, Print and then "Selection". Then choose Preview mode to see what Excel will print.

Page 32: Charting Basics.xls

Do you want Months to display on the X axis and Widget items to display in the legend or the reverse?

Step 3 of the Chart Wizard

gives you the chance to add

Page 33: Charting Basics.xls

a chart title and axis labels.

typing. What you enter is stored

in a text box on the chart that

you can format, move, and size

as you please.

Or, select the chart and start

Jan Feb

-

500

1,000

1,500

2,000

2,500

3,000

3,500 Widget A

Widget B

Jan Feb

-

500

1,000

1,500

2,000

2,500

3,000

3,500 Widget A

Widget B

Format the data series and reduce gap width between bars.

The original, default chart.

Jan Feb

-

500

1,000

1,500

2,000

2,500

3,000

3,500

2,500

3,250

1,100 980

Widget A

Widget B

Jan Feb

-

500

1,000

1,500

2,000

2,500

3,000

3,500

Series names added to the top of each marker, replacing the legend.

Page 34: Charting Basics.xls

Right-click the Y Axis, choose Format Axis, then the "Scale" tab.

1. Select the chart.2. Re-open the Chart Wizard.3. Go to the Wizard Step 2 and select the "Data Range" tab.4. Redefine the data range to add or exclude data.5. Click the Wizard's Finish button to return to the modified chart.

Page 35: Charting Basics.xls

The last Chart Wizard step gives you the choice of embedding your chart in the same worksheet with the data orputting the chart on a new worksheet that Excel adds to the workbook.

Whatever you decide in this step, you can always change your mind later.

To move a chart from its own sheet to another worksheet, right click the chart and choose Location from the pop-up menu. Then choose a different worksheet.

Use the same technique move a chart embedded on a sheet to its own worksheet.