Welcome to MSDN Blogs Sign in | Join | Help

Microsoft Excel

The team blog for Microsoft Excel and Excel Services.
Chart Advisor

Today's author, Scott Ruble, a Program Manager on the Excel team, is seeking feedback on a new prototype for building charts.

When Office 2007 was released, one of the strong pieces of feedback was Excel needs to do a better job guiding users in the proper selection of charts to effectively communicate their data. Though it wasn't our intent, some of the new formatting options such as glow and legacy 3D charts can be used inappropriately, which obscure the meaning of a chart. Some people felt that these features contributed to creating more "chart junk." In an effort to improve this situation, we have created a prototype called the Chart Advisor. The Chart Advisor intelligently suggests different chart types based on an analysis of your data in Excel 2007. Depending on the feedback we get on Chart Advisor, we may incorporate this as a native Excel feature in a future release. For a quick tour of Chart Advisor, please check out the video or read the steps below and give it a try.

Video: Chart Advisor Overview

Background

Chart Advisor was developed by Office Labs which is a new organization within Office that focuses on concept validation and incubation. Over the course of several months, we compiled a set of well defined heuristics such as when to use a line chart versus a column chart. These heuristics were incorporated into an advanced rules engine which scans your data and scores all of the relevant chart types. Top scoring charts are presented for previewing, tweaking, and inserting into your Excel worksheet. The rules used for scoring can be complex and we know that some rules are missing or need fine tuning. Given the breadth of possible chart types and data sets this will probably always be the case - even for a fully functional shipping version of Chart Advisor. To address this, the rules were separated from the rules engine into an XML file which can be modified by you to meet your individual business needs. Other notable features of the Chart Advisor are shown below.

  • Automatic pivoting to generate more useful charts
  • Hidden rows and columns are ignored in the spreadsheet
  • Totals for columns or rows are ignored in the charts so as not to skew the data plotted
  • Ability to quickly change the data displayed in the chart through the Modify chart pane
  • Ability to filter data
  • Intelligent mapping of data to the axes
  • Scoring of charts to show the best charts first
  • Chart formatting (legend on/off/location, chart style) is rules-based - e.g., no legend if only one value series

The vision for Chart Advisor was for it to address four different areas of recommendation:

  • Chart type (e.g., column, line, scatter, etc.)
  • Formatting (e.g., fill, color, effects, etc.)
  • Chart element (e.g., legend, trendline, error bars, etc.)
  • Aggregations and pivots

The Chart Advisor is a proof of concept. As such, it doesn't address all aspects of our vision just yet. Currently it focuses on providing chart type suggestions and to a more limited extent formatting, chart element, aggregation, and pivot suggestions. However, I'd love to get your feedback on other ways you think the Chart Advisor could add value.

Steps to Use

Using the Chart Advisor is pretty straight forward. As noted previously, please check out the video for a quick tour or use the following steps.

Sample Table of Data

Region

Year

Sales

Market Share

CA

1980

$5,855

11%

OR

1980

$10,839

21%

WA

1980

$15,302

29%

ID

1980

$20,231

39%

CA

1985

$5,175

10%

OR

1985

$9,905

20%

WA

1985

$14,248

28%

ID

1985

$21,040

42%

CA

1990

$10,151

14%

OR

1990

$15,140

21%

WA

1990

$20,436

28%

ID

1990

$26,886

37%

 

 

 

 

 

  1. Install Chart Advisor.
  2. Copy the data from the sample table above into an Excel 2007 workbook.
  3. Select the data that you would like to chart. If you select all of the data in the sample table, Chart Advisor will analyze all of the rows and columns and provide suggestions based on all of data and subsets of the data. This is useful when you don't have any idea how to visualize the data or want to explore a variety of possibilities. If you would like a more narrow view of the data, select just those columns. For example, select the columns for Region and Sales.
  4. From the "Insert" tab in Excel 2007, click on the "Chart Advisor" button in the ribbon. This will launch the Chart Advisor and start the data analysis process. Note that this analysis may take a long time for large data sets. As noted previously, Chart Advisor is a prototype and does not have the performance of a truly native feature in Excel. The performance would significantly be improved if Chart Advisor shipped with a future version of Excel.
  5. After the Chart Advisor dialog comes up, hover over the recommendations at the top of the dialog. This will show a live preview of the suggested chart in the main window. To better understand the scoring, hover over the percentage in the lower right corner of the chart thumbnail. For the sample data, notice that the rules engine detected repeating rows for the Region column and suggests several aggregated views of the data.
  6. Modify the chart data as you see fit by turning on or off fields in the "Modify Chart" panel on the left. You can also filter the data by using the "Filter Data" panel.
  7. Once you are done modifying the chart, click the "Insert Chart" button in the lower right corner of the dialog. Note that you won't be able to re-enter this dialog to make changes after clicking the insert button. Again, this is a prototype with some limitations.

Caveats

Our intent was to make the Chart Advisor functional enough for experimentation and validating the concept. As such, it does have several limitations which I've mentioned previously but I'll summarize here.

  • Not all aspects of the intended vision have been addressed. The focus for this first prototype was primarily on chart type recommendations.
  • The rules engine needs fine tuning for some data sets. As such, it may suggest inappropriate chart types periodically.
  • For large data sets, the performance may be slow.
  • There may be bugs in the prototype that limit its use. The prototype has been tested but not to the degree that a typical shipping product would receive.

Feedback

As mentioned previously, we would love to get your feedback on the Chart Advisor. Though it isn't fully functionally just yet, conceptually speaking would it meet your needs, what changes would you like to see, and what other ways could it add value to you or your company? Please give it a try and tell a friend.

Posted: Thursday, September 25, 2008 11:01 AM by Joseph Chirilov
Filed under:

Comments

Chart Advisor : EasyCoded said:

# September 25, 2008 2:22 PM

V. Garg said:

I tried installing it but it returns a useless error message:

"The installation of this package failed." with no indications as to how to correct this failure. Any help would be appreciated.

# September 25, 2008 11:35 PM

Nigel Thompson said:

Certainly will add more value to the casual users who I have seen spend an age trying to select then configure an appropriate chart. And by the way often fail!

My only request is an ability to define a preset chart style to meet our corporate guidelines on use of color etc.

Thanks

# September 26, 2008 3:04 AM

Matt said:

Just curious what the latest status was on adding in the functionality to create y-axis breaks for disparate data or the functionality to auto-place series labels?

Thanks,

Matt

# September 26, 2008 10:06 AM

Scott Ruble [MSFT] said:

V. Garg - at the top right of this page is an email link.  If you can click that link and send me an email, I can correspond with you and try to trouble shoot your problem offline.

Nigel - thanks for the feedback.

Matt - this feature request is definitely on our radar but I can't comment on its potential availability at this time.

# September 26, 2008 12:55 PM

Sam said:

Can it advise that people should not use

a) Pie Charts

b) 3D Charts

c) Excessive Colors/Effects added in 2007 (at the cost of new chart types)

d) List things that have stopped working in Excel 2007 which were working fine in Excel 2003 - like inability to use F4 key to repeat format info....inability to double click on an axis to format...etc...etc..

Can it direct people to some good charting resources and articles like

Jon Peltier, Andy Pope, Perpetual Edge etc to learn charting and data vitualization....

# September 27, 2008 5:23 AM

atakee said:

hello! is there a version of the chart advisor for excel 2003 ?!?!

pls let me know: atakee@gmail.com

cheers

# September 28, 2008 4:09 AM

Scott Ruble [MSFT] said:

atakee - Sorry, there is not a version of chart advisor available for Excel 2003.

# September 30, 2008 12:29 PM

Al said:

Hello, please solve the following jaw-dropping problem in Excel 2007 first!

Here's my data:

a 66 97 147 133

b 274 167 150 79

c 8 32 46 45

d 33 57 41 29

e 41 20 4 16

f 4 3 22 5

g 4 12 12 5

Say, the data indicates trends of a, b, c, and so on.

Select the entire row a, draw a stacked line chart. Now from the chart, do a right click, select data, do the steps to add row g. What do you see? Total messed up values of g on the chart! Same thing continues as you keep adding more rows.

I'm using Excel 2007 with SP1.

# October 10, 2008 1:49 AM

Sean said:

Hi Al,

Can you be more descriptive of what you want to see? I have added the row for G and I see what I'd expect. Using a stacked line chart the points for G are stacked on A. So I see four points for A: 66, 97, 147, 133, and then I see the four points for G stacked upon them: 70 (66+4), 109 (97+12) and so on.

If this is what you wanted, but aren't seeing, then maybe you are adding each line incorrectly. In which case, try selecting the complete range and creating a stacked line chart. This will, by default, create 4 series of horizontal points A, B, C etc. Once you have done this, right click the chart and choose Select Data, and click on the Switch Row/Column button near the top of the Select Data Source dialogue box. This will then create the stacked chart with A as the lowest series and G as the highest. Being stacked, G will now represent the sum of all the values in each column.

If you are still having problems please explain in more detail what it is that you were expecting to see, and what it is that you are seeing.

Cheers,

Sean.

# October 10, 2008 5:37 AM

Al said:

Hi Sean,

Thanks much for your clear explanation!

Now I know it was *MY MISTAKE* (too bad I can't edit my previous comments anymore)! I was ignorant about the stacked line chart and was using it as a regular line chart for trending.  

# October 10, 2008 1:25 PM

Microsoft Excel said:

Today's author, Robin Wakefield, a Program Manager on the Excel team, discusses charts. As a new program

# February 25, 2009 8:03 PM
New Comments to this post are disabled
Page view tracker