Chapter 19: Getting Started Making Charts

In This Chapter

Charting overview

Seeing how Excel handles charts

Comparing embedded charts and chart sheets

Identifying the parts of a chart

Looking at examples of each chart type

When most people think of Excel, they think of crunching rows and columns of numbers. But as you probably know already, Excel is no slouch when it comes to presenting data visually in the form of charts. In fact, Excel is probably the most commonly used software in the world for creating charts.

This chapter presents an introductory overview of Excel's charting ability. Chapter 20 continues with some more advanced techniques.

What Is a Chart?

A chart is a visual representation of numeric values. Charts (also known as graphs) have been an integral part of spreadsheets since the early days of Lotus 1-2-3. Charts generated by early spreadsheet products were quite crude, but they've improved significantly over the years. Excel provides you with the tools to create a wide variety of highly customizable professional-quality charts.

Displaying data in a well-conceived chart can make your numbers more understandable. Because a chart presents a picture, charts are particularly useful for summarizing a series of numbers and their interrelationships. Making a chart can often help you spot trends and patterns that may otherwise go unnoticed. If you're unfamiliar with the elements of a chart, see the sidebar later in this chapter, “The Parts of a Chart.”

Figure 19.1 shows a worksheet that contains a simple column chart that depicts a company's sales volume by month. Viewing the chart makes it very apparent that sales were down in the summer months (June through August), but they increased steadily during the final four months of the year. You could, of course, arrive at this same conclusion simply by studying the numbers. But viewing the chart makes the point much more quickly.

Figure 19.1

A simple column chart depicts the monthly sales volume.

9781118490303-fg1901.eps

A column chart is just one of many different types of charts that you can create with Excel. Later in this chapter, I discuss all chart types so you can make the right choice for your data.

Understanding How Excel Handles Charts

Before you can create a chart, you must have some numbers — sometimes known as data. The data, of course, is stored in the cells in a worksheet. Normally, the data that a chart uses resides in a single worksheet, but that's not a strict requirement. A chart can use data that's stored in a different worksheet or even in a different workbook.

A chart is essentially an object that Excel creates upon request. This object consists of one or more data series, displayed graphically. The appearance of the data series depends on the selected chart type. For example, if you create a line chart that uses two data series, the chart contains two lines, each representing one data series. The data for each series is stored in a separate row or column. Each point on the line is determined by the value in a single cell and is represented by a marker. You can distinguish each of the lines by its thickness, line style, color, or data markers (squares, circles, and so on).

Figure 19.2 shows a line chart that plots two data series across a 12-month period. I used different data markers (squares versus circles) to identify the two series, as shown in the legend at the bottom of the chart. The chart clearly shows the sales in the Western Region are declining steadily, while Eastern Region sales are increasing a bit after remaining level for several months.

A key point to keep in mind is that charts are dynamic. In other words, a chart series is linked to the data in your worksheet. If the data changes, the chart is updated automatically to reflect those changes.

Figure 19.2

This line chart displays two data series.

9781118490303-fg1902.eps

After you create a chart, you can always change its type, change the formatting, add or remove specific elements (such as the title or legend), add new data series to it, or change an existing data series so that it uses data in a different range.

A chart is either embedded in a worksheet or displayed on a separate chart sheet. It's very easy to move an embedded chart to a chart sheet (and vice versa).

Embedded charts

An embedded chart basically floats on top of a worksheet, on the worksheet's drawing layer. The charts shown previously in this chapter are both embedded charts.

As with other drawing objects (such as Shapes or SmartArt), you can move an embedded chart, resize it, change its proportions, adjust its borders, and perform other operations. Using embedded charts enables you to print the chart next to the data that it uses.

To make any changes to the actual chart in an embedded chart object, you must click it to activate the chart. When a chart is activated, Excel displays the Chart Tools context tab. The Ribbon provides many tools for working with charts, and even more tools are available in the Format task pane.

New Feature

Excel 2013 incorporates some additional features that make it even easier to make your chart look exactly how you want it. When you select a chart, you see three icons to the right of the chart that adjust various aspects of the chart. I describe these new tools later in this chapter.

With one exception, every chart starts out as an embedded chart. The exception is when you create a default chart by selecting the data and pressing F11. In that case, the chart is created on a chart sheet.

Chart sheets

When a chart is on a chart sheet, you view it by clicking its sheet tab. A chart sheets contains a single chart. Chart sheets and worksheets can be interspersed in a workbook.

To move an embedded chart to a chart sheet, click the chart to select it and then choose Chart Tools ⇒ Design ⇒ Location ⇒ Move Chart. The Move Chart dialog box, shown in Figure 19.3, appears. Select the New Sheet option and provide a name for the chart sheet (or accept Excel's default name). Click OK, the chart is moved, and the new chart sheet is activated.

Figure 19.3

The Move Chart dialog box lets you move a chart to a chart sheet.

9781118490303-fg1903.eps

Tip

This operation also works in the opposite direction: You can select a chart on a chart sheet and relocate it to a worksheet as an embedded chart. In the Move Chart dialog box, choose Object In, and then select the worksheet from the drop-down list.

When you place a chart on a chart sheet, the chart occupies the entire sheet. If you plan to print a chart on a page by itself, using a chart sheet is often your better choice. If you have many charts, you may want to put each one on a separate chart sheet to avoid cluttering your worksheet. This technique also makes locating a particular chart easier because you can change the names of the chart sheets' tabs to provide a description of the chart that it contains.

The Excel Ribbon changes when a chart sheet is active, similar to the way it changes when you select an embedded chart. You have access to the same editing tools for embedded charts and charts on chart sheets.

If the chart isn't fully visible in the window, you can use the scroll bars to scroll it, or adjust the zoom factor to make it smaller. You can also change its orientation (tall or wide) by choosing Page Layout ⇒ Page Setup ⇒ Orientation.

Creating a Chart

Creating a chart is fairly simple:

1. Make sure that your data is appropriate for a chart.

2. Select the range that contains your data.

3. Select the Insert tab and select a chart type from the Charts group. These icons display drop-down lists that display subtypes. Excel creates the chart and places it in the center of the window.

4. (Optional) Use the various tools and commands to change the look or layout of the chart or add or delete chart elements.

New Feature

Excel 2013 includes a new option in the Insert ⇒ Charts groups: Recommended Charts. If you choose this option, the Insert Chart dialog box appears with two tabs. The Recommended Charts tab contains a list of suggested chart types appropriate for your data; sometimes this feature can be useful, but you can't always assume that all the recommended charts are suitable. The second tab, All Charts, gives you access to all of Excel's chart types. The charts displayed in the Insert Chart dialog box are not generic thumbnails; the charts depict your actual data.

Tip

You can create a chart with a single keystroke. Select the range to be used in the chart and then press Alt+F1 (for an embedded chart) or F11 (for a chart on a chart sheet). Excel displays the chart of the selected data, using the default chart type. The default chart type is a column chart, but you can change it. To change the default chart type, select any chart and choose Chart Tools ⇒ Design ⇒ Change Chart Type. The Change Chat Type dialog box appears. Choose a chart type from the list on the left, and then right-click a chart in the row of thumbnails and choose Set As Default Chart.

Hands On: Creating and Customizing a Chart

This section contains a step-by-step example of creating a chart and applying some customizations. If you've never created a chart, this is a good opportunity to get a feel for how the process works.

Figure 19.4 shows a worksheet with a range of data. This data shows customer survey results by month, broken down by customers in three age groups. In this case, the data resides in a table (created by choosing Insert ⇒ Tables ⇒ Table), but that's not a requirement to create a chart.

On the Web

This workbook, named hands-on example.xlsx, is available on this book's website.

Figure 19.4

The source data for the hands-on chart example.

9781118490303-fg1904.eps

Selecting the data

The first step is to select the data for the chart. Your selection should include such items as labels and series identifiers (row and column headings). For this example, select the entire table (range A4:D10). This range includes the category labels but not the title (which is in A1).

Tip

If you want to chart all data in a table (or a rectangular range separated from other data), you can select just a single cell. Excel will almost always guess the range for the chart accurately. If you don't want to plot all data in the table, just select the specific columns or rows.

Note

The data that you use in a chart need not be in contiguous cells. You can press Ctrl and make a multiple selection. The initial data, however, must be on a single worksheet. If you need to plot data that exists on more than one worksheet, you can add more series after the chart is created. In all cases, however, data for a single chart series must reside on one sheet.

Choosing a chart type

After you select the data, select a chart type from the Insert ⇒ Charts group. Each control in this group is a drop-down list, which lets you further refine your choice by selecting a subtype.

For this example, let Excel recommend a chart type. Choose Insert ⇒ Charts ⇒ Recommended Charts. Excel displays the dialog box shown in Figure 19.5. This dialog box shows several recommended charts, using your actual data. Select the first choice, Clustered Column, and click OK. Excel inserts the chart in the middle of the workbook window. You can move the chart by dragging any of its borders. You can also resize it by clicking and dragging in one of its corners. Figure 19.6 shows the chart after I moved it next to the data range.

Figure 19.5

Letting Excel recommend a chart type.

9781118490303-fg1905.eps

Figure 19.6

A clustered column chart created from the data in the table.

9781118490303-fg1906.eps

Experimenting with different styles

The chart looks pretty good, but it's just one of several predefined styles for a clustered column chart.

To see some other looks for the chart, select the chart (click it) and check out a few other predefined styles in the Chart Tools ⇒ Design ⇒ Chart Styles group. Just hover your mouse over a thumbnail image, and your chart temporarily takes on the new style. If you find a style you like, click the thumbnail to make it permanent. Notice that this Ribbon group also includes a Change Colors tool, which lets you quickly modify the colors used in the chart.

New Feature

You can also access the chart styles and colors by using the Chart Styles icon, which appears to the right of the chart when you select it (the icon displays a paintbrush). The choices are presented in a scrollable list. The choices are exactly the same as those displayed in the Chart Tools ⇒ Design ⇒ Chart Styles group.

Experimenting with different layouts

Every chart type has a set of layouts that you can choose from. A layout contains additional chart elements, such as a title, data labels, axes, and so on. You can add your own elements to your chart, but often, using a predefined layout saves time. Even if the layout isn't exactly what you want, it may be close enough that you need to make only a few adjustments.

To try a different predefined layout, select the chart and choose Chart Tools ⇒ Design ⇒ Chart Layouts ⇒ Quick Layout.

To manually add or remove elements from the chart, click the Chart Elements icon, which appears to the right of the chart and has an image of a plus sign. Note that each item expands to provide more options, such as the location of the element within the chart. The Chart Elements icon contains the same option as the Chart Tools ⇒ Design ⇒ Chart Layouts ⇒ Add Chart Element control.

Figure 19.7 shows the chart after selecting a different style and changing the colors. I chose a layout that displays the legend on the right and includes axis titles. I customized the generic title and vertical axis title and deleted the horizontal axis title because it's obvious that it displays months.

Tip

You can link the chart title to a cell so the title always displays the contents of a particular cell. To create a link to a cell, click the chart title, type an equal sign (=), click the cell, and press Enter. Excel displays the link in the Formula bar. In the example, the text in cell A1 is perfect for the chart title.

Figure 19.7

The chart, after selecting a different style and layout.

9781118490303-fg1907.tif

Experiment with the Chart Tools ⇒ Design Ribbon to make other changes to the chart. Also try the tools that appear to the right of the chart when you click it. For example, you can remove the gridlines add axis titles, relocate the legend, and so on. Making these changes is easy and fairly intuitive.

Up until now, the changes made to the chart have been strictly cosmetic. The following sections describe how to make more substantial changes to a chart.

Trying another view of the data

The chart, at this point, shows six clusters (months) of three data points in each (age groups). Would the data be easier to understand if you plotted the information in the opposite way?

Try it. Select the chart and then choose Chart Tools ⇒ Design ⇒ Data ⇒ Switch Row/Column. Figure 19.8 shows the result of this change.

Note

The orientation of the data has a drastic effect on the look of your chart. Excel has its own rules that it uses to determine the initial data orientation when you create a chart. If Excel's orientation doesn't match your expectation, it's easy enough to change.

The chart, with this new orientation, reveals information that wasn't so apparent in the original version. The <30 and 30–49 age groups both show a decline in satisfaction for March and April. The 50+ age group didn't have this problem, however.

Figure 19.8

The chart, after changing the row and column orientation.

9781118490303-fg1908.tif

Trying other chart types

Although a clustered column chart seems to work well for this data, there's no harm in checking out some other chart types. Choose Design ⇒ Type ⇒ Change Chart Type to experiment with other chart types. This command displays the Change Chart Type dialog box, shown in Figure 19.9. The figure shows how the data would look as a line chart.

Figure 19.9

Use this dialog box to change the chart type.

9781118490303-fg1909.eps

The main chart categories are listed on the left, and the subtypes are shown as a horizontal row of icons. Select an icon and the display shows how the chart will look in both data orientations. When you find a suitable chart type, click OK and Excel changes the chart. Notice that this dialog box has a tab at the top that lets you access Excel's recommended chart types for the data.

If you don't like the result after clicking OK, select Undo from the Quick Access toolbar.

Tip

You can also change the chart type by selecting the chart and using the controls in the Insert ⇒ Charts group.

Figure 19.10 shows a few different chart type options using the customer satisfaction data.

Figure 19.10

The customer satisfaction data, displayed using four different chart types.

9781118490303-fg1910.tif

Tip

The styles displayed in the gallery depend on the workbook's theme. When you choose Page Layout ⇒ Themes ⇒ Themes to apply a different theme, you'll have a new selection of chart styles and colors designed for the selected theme.

Working with Charts

This section covers some common chart modifications:

• Resizing and moving charts

• Copying a chart

• Deleting a chart

• Adding chart elements

• Moving and deleting chart elements

• Formatting chart elements

• Printing charts

Note

Before you can modify a chart, the chart must be activated. To activate an embedded chart, click it. Doing so activates the chart and selects the element that you click. To activate a chart on a chart sheet, just click its sheet tab.

Resizing a chart

If your chart is an embedded chart, you can freely resize it with your mouse. Click the chart's border. Square handles appear on the chart's corners and edges. When the mouse pointer turns into a double arrow, click and drag to resize the chart.

When a chart is selected, choose Chart Tools ⇒ Format ⇒ Size and use the two controls to adjust the height and width of the chart. Use the spinners or type the dimensions directly into the Height and Width controls.

Moving a chart

To move an embedded chart to a different location on a worksheet, click the chart and drag one of its borders. You can use standard cut-and-paste techniques to move an embedded chart. In fact, this is the only way to move a chart from one worksheet to another. Select the chart and choose Home ⇒ Clipboard ⇒ Cut (or press Ctrl+X). Then activate a cell near the desired location and choose Home ⇒ Clipboard ⇒ Paste (or press Ctrl+V). The new location can be in a different worksheet or even in a different workbook. If you paste the chart to a different workbook, the chart will be linked to the data in the original workbook.

To move an embedded chart to a chart sheet (or vice versa), select the chart and choose Chart Tools ⇒ Design ⇒ Location ⇒ Move Chart; the Move Chart dialog box appears. Choose New Sheet and provide a name for the chart sheet (or use the Excel proposed name).

Copying a chart

To make an exact copy of an embedded chart on the same worksheet, click the chart's border, press and hold the Ctrl key, and drag. Release the mouse button, and a new copy of the chart is created.

To make a copy of a chart sheet, use the same procedure, but drag the chart sheet's tab.

You also can use standard copy-and-paste techniques to copy a chart. Select the chart (an embedded chart or a chart sheet) and choose Home ⇒ Clipboard ⇒ Copy (or press Ctrl+C). Then activate a cell near the desired location and choose Home ⇒ Clipboard ⇒ Paste (or press Ctrl+V). The new location can be in a different worksheet or even in a different workbook. If you paste the chart to a different workbook, it will be linked to the data in the original workbook.

Deleting a chart

To delete an embedded chart, press Ctrl and click the chart (to select the chart as an object). Then press Delete. When the Ctrl key is pressed, you can select multiple charts, and then delete them all with a single press of the Delete key.

To delete a chart sheet, right-click its sheet tab and choose Delete from the shortcut menu. To delete multiple chart sheets, select them by pressing Ctrl while you click the sheet tabs.

Adding chart elements

To add new elements to a chart (such as a title, legend, data labels, or gridlines), activate the chart and use the controls in the Chart Elements icon, which appears to the right of the chart. Note that each item expands to display additional options.

You can also use the Add Chart Element control on the Chart Tools ⇒ Design ⇒ Chart Layouts tab.

Moving and deleting chart elements

Some elements within a chart can be moved: titles, legend, and data labels. To move a chart element, simply click it to select it and then drag its border.

The easiest way to delete a chart element is to select it and then press Delete. You can also use the controls on the Chart Elements icon, which appears to the right of the chart.

Note

A few chart elements consist of multiple objects. For example, the data labels element consists of one label for each data point. To move or delete one data label, click once to select the entire element and then click a second time to select the specific data label. You can then move or delete the single data label.

Formatting chart elements

Many users are content to stick with the predefined chart styles and layouts. For more precise customizations, Excel allows you to work with individual chart elements and apply additional formatting. You can use the Ribbon commands for some modifications, but the easiest way to format chart elements is to right-click the element and choose Format <Element> from the shortcut menu. The exact command depends on the element you select. For example, if you right-click the chart's title, the shortcut menu command is Format Chart Title.

The Format command displays a task pane with options for the selected element. Changes that you make are displayed immediately. When you select a new chart element, the dialog box changes to display the properties for the newly selected element. You can keep this task pane displayed while you work on the chart. It can be docked along the left or right part of the window or made free floating and sizable.

Tip

If the Format task pane isn't displayed, you can double-click a chart element to display it.

Refer to the “Exploring the Format Task Pane” sidebar for an explanation of how the Format task panes work.

Tip

If you apply formatting to a chart element and decide that it wasn't such a good idea, you can revert to the original formatting for the particular chart style. Right-click the chart element and choose Reset to Match Style from the shortcut menu. To reset the entire chart, select the chart area when you issue the command.

cross-icon See Chapter 20 for more information about customizing and formatting charts.

Printing charts

Printing embedded charts is nothing special; you print them the same way that you print a worksheet. As long as you include the embedded chart in the range that you want to print, Excel prints the chart as it appears onscreen. When printing a sheet that contains embedded charts, it's a good idea to preview first (or use Page Layout view) to ensure that your charts don't span multiple pages. If you created the chart on a chart sheet, Excel always prints the chart on a page by itself.

Tip

If you select an embedded chart and choose File ⇒ Print, Excel prints the chart on a page by itself and does not print the worksheet.

If you don't want a particular embedded chart to appear on your printout, access the Format Chart Area task pane and select the Size & Properties icon. Then Expand the Properties section and clear the Print Object check box.

Understanding Chart Types

People who create charts usually do so to make a point or to communicate a specific message. Often, the message is explicitly stated in the chart's title or in a text box within the chart. The chart itself provides visual support.

Choosing the correct chart type is often a key factor in the effectiveness of the message. Therefore, it's often well worth your time to experiment with various chart types to determine which one conveys your message best.

In almost every case, the underlying message in a chart is some type of comparison. Examples of some general types of comparisons include

Comparing an item to other items: A chart may compare sales in each of a company's sales regions.

Comparing data over time: A chart may display sales by month and indicate trends over time.

Making relative comparisons: A common pie chart can depict relative proportions in terms of pie “slices.”

Comparing data relationships: An XY chart is ideal for this comparison. For example, you might show the relationship between monthly marketing expenditures and sales.

Comparing frequency: You can use a common histogram, for example, to display the number (or percentage) of students who scored within a particular grade range.

Identifying outliers or unusual situations: If you have thousands of data points, creating a chart may help identify data that isn't representative.

Choosing a chart type

A common question among Excel users is “How do I know which chart type to use for my data?” Unfortunately, this question has no cut-and-dried answer. Perhaps the best answer is a vague one: Use the chart type that gets your message across in the simplest way. A good starting point is Excel's recommended charts. Select your data and choose Insert ⇒ Charts ⇒ Recommended Charts to see the chart types that Excel suggests. Remember that these suggestions are not always the best choices.

Note

In the Ribbon, the Charts group of the Insert tab shows the Recommended Charts button, plus eight other drop-down buttons. Some of these drop-down buttons display multiple chart types. For example, stock, surface, and radar charts are all available from a single drop-down button. Similarly, scatter charts and bubble charts share a single button. Probably the easiest way to choose a particular chart type is to select Insert ⇒ Charts ⇒ Recommended Charts, which displays the Insert Chart dialog box. Select the All Charts tab and you'll have a concise list of all chart types and subchart types.

Figure 19.11 shows the same set of data plotted by using six different chart types. Although all six charts represent the same information (monthly website visitors), they look quite different from one another.

Figure 19.11

The same data, plotted by using six chart types.

9781118490303-fg1911.tif

On the Web

This workbook is available this book's website. The file is named six chart types.xlsx.

The column chart (upper left) is probably the best choice for this particular set of data because it clearly shows the information for each month in discrete units. The bar chart (upper right) is similar to a column chart, but the axes are swapped. Most people are more accustomed to seeing time-based information extend from left to right rather than from top to bottom, so this isn't the optimal choice.

The line chart (middle left) may not be the best choice because it can imply that the data is continuous — that points exist in between the 12 actual data points. This same argument may be made against using an area chart (middle right).

The pie chart (lower left) is simply too confusing and does nothing to convey the time-based nature of the data. Pie charts are most appropriate for a data series in which you want to emphasize proportions among a relatively small number of data points. If you have too many data points, a pie chart can be impossible to interpret.

The radar chart (lower right) is clearly inappropriate for this data. People aren't accustomed to viewing time-based information in a circular direction!

Note

Excel's first recommendation for this data is a line chart, followed by column chart and area chart. This is a case where I disagree with Excel.

Fortunately, changing a chart's type is easy, so you can experiment with various chart types until you find the one that represents your data accurately, clearly, and as simply as possible.

The remainder of this chapter contains more information about the various Excel chart types. The examples and discussion may give you a better handle on determining the most appropriate chart type for your data.

Column charts

Probably the most common chart type is the column chart, which displays each data point as a vertical column, the height of which corresponds to the value. The value scale is displayed on the vertical axis, which is usually on the left side of the chart. You can specify any number of data series, and the corresponding data points from each series can be stacked on top of each other. Typically, each data series is depicted in a different color or pattern.

Column charts are often used to compare discrete items, and they can depict the differences between items in a series or items across multiple series. Excel offers seven column-chart subtypes.

On the Web

A workbook that contains the charts in this section is available on this book's website. The file is named column charts.xlsx.

Figure 19.12 shows an example of a clustered column chart that depicts monthly sales for two products. From this chart, it's clear that Sprocket sales have always exceeded Widget sales. In addition, Widget sales have been declining over the five-month period, whereas Sprocket sales are increasing.

Figure 19.12

This clustered column chart compares monthly sales for two products.

9781118490303-fg1912.eps

The same data, in the form of a stacked column chart, is shown in Figure 19.13. This chart has the added advantage of depicting the combined sales over time. It shows that total sales have remained fairly steady each month, but the relative proportions of the two products have changed.

Figure 19.13

This stacked column chart displays sales by product and depicts the total sales.

9781118490303-fg1913.tif

Figure 19.14 shows the same sales data plotted as a 100% stacked column chart. This chart type shows the relative contribution of each product by month. Notice that the vertical axis displays percentage values, not sales amounts. This chart provides no information about the actual sales volumes, but such information could be provided using data labels. This type of chart is often a good alternative to using several pie charts. Instead of using a pie to show the relative sales volume in each year, the chart uses a column for each year.

Figure 19.14

This 100% stacked column chart displays monthly sales as a percentage.

9781118490303-fg1914.tif

The data is plotted with a 3-D clustered column chart in Figure 19.15. The name is a bit deceptive, because the chart uses only two dimensions, not three. Many people use this type of chart because it has more visual pizzazz. Compare this chart with a “true” 3-D column chart (which has a second category axis), shown in Figure 19.16. This type of chart may be appealing visually, but precise comparisons are difficult because of the distorted perspective view.

Figure 19.15

A 3-D column chart.

9781118490303-fg1915.tif

For the 3-D columns, you can choose a different column shape in the Format Data Series dialog box. Excel offers variations such as cylinder, cone, and pyramids.

Figure 19.16

A true 3-D column chart.

9781118490303-fg1916.tif

Bar charts

A bar chart is essentially a column chart that has been rotated 90 degrees clockwise. One distinct advantage to using a bar chart is that the category labels may be easier to read. Figure 19.17 shows a bar chart that displays a value for each of ten survey items. The category labels are lengthy, and displaying them legibly with a column chart would be difficult. Excel offers six bar chart subtypes.

Figure 19.17

If you have lengthy category labels, a bar chart may be a good choice.

9781118490303-fg1917.eps

On the Web

A workbook that contains the chart in this section is available on this book's website. The file is named bar charts.xlsx.

Note

Unlike a column chart, no subtype displays multiple series along a third axis. (That is, Excel does not provide a 3-D Bar Chart subtype.) You can add a 3-D look to a bar chart, but it will be limited to two axes.

You can include any number of data series in a bar chart. In addition, the bars can be “stacked” from left to right.

Line charts

Line charts are often used to plot continuous data and are useful for identifying trends. For example, plotting daily sales as a line chart may enable you to identify sales fluctuations over time. Normally, the category axis for a line chart displays equal intervals. Excel supports seven line chart subtypes.

See Figure 19.18 for an example of a line chart that depicts 53 years of monthly data (636 data points). Although the data varies quite a bit on a monthly basis, the chart clearly depicts the cycles.

Figure 19.18

A line chart often can help you spot trends in your data.

9781118490303-fg1918.eps

On the Web

A workbook that contains the charts in this section is available on this book's website. The file is named line charts.xlsx.

A line chart can use any number of data series, and you distinguish the lines by using different colors, line styles, or markers. Figure 19.19 shows a line chart that has three series. The series are distinguished by markers (circles, squares, and triangles) and different line colors. When the chart is printed on a non-color printer, the markers are the only way to identify the lines.

Figure 19.19

This line chart displays three series.

9781118490303-fg1919.eps

The final line chart example, shown in Figure 19.20, is a 3-D line chart. Although it has a nice visual appeal, it's certainly not the clearest way to present the data. In fact, it's fairly worthless.

Figure 19.20

This 3-D line chart does not present the data very well.

9781118490303-fg1920.eps

Pie charts

A pie chart is useful when you want to show relative proportions or contributions to a whole. A pie chart uses only one data series. Pie charts are most effective with a small number of data points. Generally, a pie chart should use no more than five or six data points (or slices). A pie chart with too many data points can be very difficult to interpret.

Caution

The values used in a pie chart must all be positive numbers. If you create a pie chart that uses one or more negative values, the negative values will be converted to positive values — which is probably not what you intended!

You can “explode” one or more slices of a pie chart for emphasis (see Figure 19.21). Activate the chart and click any pie slice to select the entire pie. Then click the slice that you want to explode and drag it away from the center.

Figure 19.21

A pie chart with one slice exploded.

9781118490303-fg1921.eps

On the Web

A workbook that contains the charts in this section is available on this book's website. The file is named pie charts.xlsx.

The pie of pie and bar of pie chart types enable you to display a secondary chart that provides more detail for one of the pie slices. Figure 19.22 shows an example of a bar of pie chart. The pie chart shows the breakdown of four expense categories: Rent, Supplies, Miscellaneous, and Salary. The secondary bar chart provides an additional regional breakdown of the Salary category.

Figure 19.22

A bar of pie chart that shows detail for one of the pie slices.

9781118490303-fg1922.eps

The data used in the chart resides in A2:B8. When the chart was created, Excel made a guess as to which categories belong to the secondary chart. In this case, the guess was to use the last three data points for the secondary chart — and the guess was incorrect.

To correct the chart, right-click any of the pie slices and choose Format Data Series. In the Format Data Series task pane, select the Series Options icon and make the changes. In this example, I chose Split Series by Position and specified that the second plot contains four values in the series.

XY (scatter) charts

Another common chart type is an XY chart (also known as scattergrams or scatter plots). An XY chart differs from most other chart types in that both axes display values. (An XY chart has no category axis.)

This type of chart often is used to show the relationship between two variables. Figure 19.23 shows an example of an XY chart that plots the relationship between sales calls made (horizontal axis) and sales (vertical axis). Each point in the chart represents one month. The chart shows that these two variables are positively related: Months in which more calls were made typically had higher sales volumes.

On the Web

A workbook that contains the charts in this section is available on this book's website. The file is named xy charts.xlsx.

Note

Although these data points correspond to time, the chart doesn't convey any time-related information. In other words, the data points are plotted based only on their two values.

Figure 19.23

An XY chart shows the relationship between two variables.

9781118490303-fg1923.eps

Figure 19.24 shows another XY chart, this one with lines that connect the XY points. This chart plots a hypocycloid curve with 200 data points. It's set up with three parameters. Change any of the parameters, and you'll get a completely different curve. This is a very minimalist chart. I deleted all the chart elements except the data series itself.

Figure 19.24

A hypocycloid curve, plotted as an XY chart.

9781118490303-fg1924.eps

If this type of design looks familiar, it's because a hypocycloid curve is the basis for a popular children's drawing toy.

Area charts

Think of an area chart as a line chart in which the area below the line has been colored in. Figure 19.25 shows an example of a stacked area chart. Stacking the data series enables you to clearly see the total, plus the contribution by each series.

Figure 19.25

A stacked area chart.

9781118490303-fg1925.eps

On the Web

A workbook that contains the charts in this section is available on this book's website. The file is named area charts.xlsx.

Figure 19.26 shows the same data, plotted as a 3-D area chart. As you can see, it's not an example of an effective chart. The data for products B and C are obscured. In some cases, the problem can be resolved by rotating the chart or using transparency. But usually the best way to salvage a chart like this is to select a new chart type.

Figure 19.26

This 3-D area chart is not a good choice.

9781118490303-fg1926.tif

Radar charts

You may not be familiar with this type of chart. A radar chart is a specialized chart that has a separate axis for each category, and the axes extend outward from the center of the chart. The value of each data point is plotted on the corresponding axis.

Figure 19.27 shows an example of a radar chart. This chart plots two data series across 12 categories (months) and shows the seasonal demand for snow skis versus water skis. Note that the water-ski series partially obscures the snow-ski series.

Figure 19.27

Plotting ski sales using a radar chart with 12 categories and two series.

9781118490303-fg1927.eps

On the Web

A workbook that contains the charts in this section is available at this book's website. The file is named radar charts.xlsx.

Using a radar chart to show seasonal sales may be an interesting approach, but it's certainly not the best chart type. As you can see in Figure 19.28, a stacked bar chart shows the information much more clearly.

Figure 19.28

A stacked bar chart is a better choice for the ski sales data.

9781118490303-fg1928.tif

A more appropriate use for radar charts is shown in Figure 19.29. These four charts each plot a color. More precisely, each chart shows the RGB components (the contributions of red, green, and blue) that make up a color. Each chart has one series and three categories. The categories extend from 0 to 255.

Note

If you view the charts in color, you'll see that they actually depict the color that they describe. The data series colors were applied manually.

Surface charts

Surface charts display two or more data series on a surface. As Figure 19.30 shows, these charts can be quite interesting. Unlike other charts, Excel uses color to distinguish values, not to distinguish the data series. The number of colors used is determined by the major unit scale setting for the value axis. Each color corresponds to one major unit.

Figure 19.29

These radar charts depict the red, green, and blue contributions for each of four colors.

9781118490303-fg1929.eps

Figure 19.30

A surface chart.

9781118490303-fg1930.tif

On the Web

A workbook that contains the charts in this section is available on this book's website. The file is named surface charts.xlsx.

Note

A surface chart does not plot 3-D data points. The series axis for a surface chart, as with all other 3-D charts, is a category axis — not a value axis. In other words, if you have data that is represented by x, y, and z coordinates, it can't be plotted accurately on a surface chart unless the x and y values are equally spaced.

Bubble charts

Think of a bubble chart as an XY chart that can display an additional data series, which is represented by the size of the bubbles. As with an XY chart, both axes are value axes (there is no category axis).

Figure 19.31 shows an example of a bubble chart that depicts the results of a weight-loss program. The horizontal value axis represents the original weight, the vertical value axis shows the number of weeks in the program, and the size of the bubbles represents the amount of weight lost.

Figure 19.31

A bubble chart.

9781118490303-fg1931.eps

On the Web

A workbook that contains the charts in this section is available on this book's website. The file is named bubble charts.xlsx.

Figure 19.32 shows another bubble chart, made up of nine series that represent mouse face parts. The size and position of each bubble required some experimentation.

Figure 19.32

This bubble chart depicts a mouse.

9781118490303-fg1932.eps

Stock charts

Stock charts are most useful for displaying stock-market information. These charts require three to five data series, depending on the subtype.

Figure 19.33 shows an example of each of the four stock chart types. The two charts on the bottom display the trade volume and use two value axes. The daily volume, represented by columns, uses the axis on the left. The up-bars, sometimes referred to as candlesticks, are the vertical lines that depict the difference between the opening and closing price. A black up-bar indicates that the closing price was lower than the opening price.

Figure 19.33

The four stock chart subtypes.

9781118490303-fg1933.eps

On the Web

A workbook that contains the charts in this section is available on this book's website. The file is named stock charts.xlsx.

Stock charts aren't just for stock price data. Figure 19.34 shows a stock chart that depicts the high, low, and average temperatures for each day in May. This is a high-low-close chart.

Figure 19.34

Plotting temperature data with a stock chart.

9781118490303-fg1934.eps

Learning More

This chapter introduced Excel charts, including examples of the types of charts that you can create. For many people, the information in this chapter is sufficient to create a wide variety of charts.

Those who require control over every aspect of their charts can find the information they need in the next chapter. It picks up where this one leaves off and covers the details involved in creating the perfect chart.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset