Motion Chart in Excel

- Contributed by Kamesh M

We all know that using a Bubble Graph one can show three different dimensions of data i.e, X-axis, Y-axis and the Size of the Bubble to represent an additional dimension of information for the given time period. With a small set of data this may not prove beneficial but is pretty much helpful to visually represent a large segment of data. It gives a quick impression of how the large data relate to each other in terms of for example volume, position, placement, etc among many other possibilities. All that saying, it however shows only for a certain defined time such as for a week or a month of data.

The same bubble chart can however be tweaked at large to show how the relation continues over a moving time range – say across the three months in a quarter or across twelve months in a year, which is better known as ‘Motion Chart’. And all that using the very common MS Excel itself. When the data has to be shown for different time periods using the same graph it could become a bit challenging. The idea is to show how the bubbles change with time or say any other dimension. In simple words, this can be done by using a scroll bar that would allow control the progression or the change.


Let’s go about creating such a motion chart. Here I have taken an example of ‘Top ten Sites Ranked by Unique Visitors. My data points – the Unique Visitors on Y-axis, Monthly attention on X-axis, and visits to the site as the size of the bubble. To go ahead with lets plot 1 months’ data in a bubble chart as below. All sites are identified by their abbreviations.

Motion Chart in Excel

Ok. So here we are with the bubble chart. That’s the first step. Now to bring in some ‘motion’ to it for which, a scroll bar will be the handiest tool. The scroll bar will be used to slide through different time periods. So, insert one by clicking on the Developer tab, and in that ribbon, scroll bar form control will be available under Insert option in the ribbon.

Motion Chart in Excel

Draw the scroll bar in the sheet below the bubble char. To change control settings, right click and select Format Control option from the context menu.

Motion Chart in Excel

Now in the Format Control options, the Control tab has settings of most importance. Enter the Minimum Value as 1 and Maximum value for as long as the period there are data. Since I am trying to show 6 months of data, I have set Maximum Value to 6. Set both Incremental Change and Page Change to 1. Finally, Cell Link is to set to a cell in the sheet. The purpose of this sheet is to return the value of current scroll change to the sheet which in turn will allow control over the bubble chart.

Motion Chart in Excel

Now, the complicated part, write a simple nested if formula in the data table such than when ever there is an increment/decrement in the Scroll Bar Current Value, the data table shows the required data. In my example, taking my data from January to June, values 1 through 6 would represent each month. The logic used here is
IF (cell$A$1=1, show value of Jan, IF ($A$1=2, show value of Feb…… IF ($A$1=6, show value of Jun))))))
Similarly for the rest of the dimensions as well, similar formula is written to update numbers based on scroll bar current position value.
After required beautifying process in the graph, the scrollbar, any accompanying texts and also the data table, if required to show along with the chart, the final output is a neat Motion Chart.

Motion Chart in Excel

Reference: http://lists.compete.com/

This entry was posted in Advanced, Dashboard Design, Reporting, Tips and Tricks and tagged , , , . Bookmark the permalink.

12 Responses to Motion Chart in Excel

  1. ramesh says:

    hi team,request you to provide me a sample file of above excersice (Motion Chart in Excel)..

    regards,ramesh

  2. Anish Mathews says:

    Hello , Please provide me a sample file for the motion chart in excel

  3. Sara says:

    This is amazing! Can you please send me the sample file? Thank you.

  4. Ralph says:

    Looks very promising – could you send me a sample file pls?

  5. Peter says:

    After searching for a software to achieve the motion, I found your post. Please send me the sample file. This looks great.
    Thank you!

  6. Seyi says:

    I was searching for a way to do this without using flash and I came across you post. I really like it and just like everyone, can you send my the file.
    Thanks

  7. Shane says:

    Very Cool! I am still learning how to develop the bubble and motion charts. This is a great help. Can you please send me a copy of the template as an example to better help my understanding in how and where you entered the nested function? Thank you so much!!

  8. Jan Rey says:

    This looks stunning and very helpful. Can I have a sample for referrence please?

    Thanks in Adv!

  9. Shin Kikuchi says:

    I was also searching for a way to do this without using flash like as everyone.Very cool! Could you send me the sample file?Thank you very much for your post.

  10. Radoslav says:

    Could you please also send a sample file to me?

    Thanks in advance

  11. Jorge says:

    I spent time looking for somthing like this, would you please send me the file to better understand?

    Thanks.

  12. Sreekar says:

    Would any one know, how the motion chart could be run/executed in powerpoint?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>