+ Reply to Thread
Results 1 to 15 of 15

How to make Proportionally Sized Pie Charts

  1. #1
    Registered User
    Join Date
    01-02-2013
    Location
    Chicago, Illinois
    MS-Off Ver
    Excel 2010
    Posts
    25

    How to make Proportionally Sized Pie Charts

    Hello all,

    I am trying to put together two pie charts to represent sales for two corresponding years. One year has higher sales than the other, and I would like to show that with the physical size of the pie charts. Is there an easy way to have the diameter or total area of a pie chart correspond to a specific number?

    For example, if the sales for year 1 were $200 million and sales for year 2 were $100 million, is there a way to make chart 1 appear exactly 2 times larger (area) than the pie chart for year 2?

    It sounds simple, but some searching on the internet has made it sound like this is not easy to do. Thank you for any help!

  2. #2
    Registered User
    Join Date
    01-02-2013
    Location
    Chicago, Illinois
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: How to make Proportionally Sized Pie Charts

    Anyone have any ideas, or is it really that difficult?

    It seems like it should be quite an easy implementation for Microsoft to include, and it's really surprising there is not some formatting spot that this can be done through.

  3. #3
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: How to make Proportionally Sized Pie Charts

    in my opinion pie charts are not the right chart for this kind of comparison (they're rarely the right chart for anything) which is one reason there isn't a one-click answer. it sounds like a bar or column chart would be a much better proposition
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  4. #4
    Registered User
    Join Date
    01-02-2013
    Location
    Chicago, Illinois
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: How to make Proportionally Sized Pie Charts

    Quote Originally Posted by JosephP View Post
    in my opinion pie charts are not the right chart for this kind of comparison (they're rarely the right chart for anything) which is one reason there isn't a one-click answer. it sounds like a bar or column chart would be a much better proposition
    Hi Joseph, thanks for the reply.

    I would wholeheartedly agree, but the company I work for has their mind set on pie charts for their presentation. Regardless, I think it's something that should be added to future Excel functionality if it really does not exist currently.

    I ended up manually changing the chart sizes and approximating the areas which was annoying, but I will check back to see if anyone here knows a way to do it properly!

  5. #5
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: How to make Proportionally Sized Pie Charts

    Quote Originally Posted by ebase131 View Post
    Regardless, I think it's something that should be added to future Excel functionality if it really does not exist currently.
    I guess we'll agree to disagree on that-I really think that should never be added. it's bad enough that pie charts exist without encouraging people to use them in this way ;-) if they do add it it should be under a new 'absolutely not recommended charts' group
    Last edited by JosephP; 05-07-2013 at 11:42 AM.

  6. #6
    Registered User
    Join Date
    01-02-2013
    Location
    Chicago, Illinois
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: How to make Proportionally Sized Pie Charts

    Quote Originally Posted by JosephP View Post
    I guess we'll agree to disagree on that-I really think that should never be added. it's bad enough that pie charts exist without encouraging people to use them in this way ;-) if they do add it it should be under a new 'absolutely not recommended charts' group
    Interesting view on that. Not sure why you want to limit anyone from doing anything they would want to do to present data as they see fit or, more importantly often, as their boss(es) see fit. I'd rather have too many options than too few.

  7. #7
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: How to make Proportionally Sized Pie Charts

    because I think people should be encouraged to present data in a meaningful and intelligible way and discouraged from doing the opposite. I'm not stopping anyone from doing anything but I sure don't want to make it easy for anyone to distort data. the human brain is not too good at comparing the areas of circles for instance. this stance actually corresponds with the ms approach-hence the new 'recommended charts' option in 2013 which at least try to guide you in better directions (it's far from perfect though)

  8. #8
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: How to make Proportionally Sized Pie Charts

    notwithstanding the above I reckon this code would get you started
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    01-02-2013
    Location
    Chicago, Illinois
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: How to make Proportionally Sized Pie Charts

    Quote Originally Posted by JosephP View Post
    notwithstanding the above I reckon this code would get you started
    Please Login or Register  to view this content.

    Thank you sir, I will take a look and see what I can do with it. Very much appreciated!

    -Eric

  10. #10
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: How to make Proportionally Sized Pie Charts

    the code is pretty rough-it assumes chart1 has a lower total value than chart 2 and decreases its size accordingly. if you increase the size of the plot area and it exceeds the available space in the chartobject, the chartobject is not resized and the chart is merely made as large as possible regardless of the size you specified, which is why I decreased one chart rather than increasing the other

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,462

    Re: How to make Proportionally Sized Pie Charts

    JP's comments not withstanding see the pie by pie example.
    http://www.andypope.info/charts/pies.htm

    You can then adjust, within reason, the size of each pie.
    Cheers
    Andy
    www.andypope.info

  12. #12
    Registered User
    Join Date
    01-02-2013
    Location
    Chicago, Illinois
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: How to make Proportionally Sized Pie Charts

    Quote Originally Posted by Andy Pope View Post
    JP's comments not withstanding see the pie by pie example.
    http://www.andypope.info/charts/pies.htm

    You can then adjust, within reason, the size of each pie.
    Thanks Andy, just curious, what is your overall opinion on pie charts? I think they're great for certain things, and not so great for other things (just like any chart really).

  13. #13
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,462

    Re: How to make Proportionally Sized Pie Charts

    As you say all charts have strengths and weaknesses.
    A pie with small number of slices, <4, is okay. Obvioulsy no 3-D formatting. Beyond that comparison of slices becomes difficult so use of additional annotation (data labels) is usually required.

    Multiple pies used for comparison are not good. Better to use a donut if you require circular chart.

  14. #14
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: How to make Proportionally Sized Pie Charts


  15. #15
    Registered User
    Join Date
    08-27-2013
    Location
    Bundaberg, Australia
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: How to make Proportionally Sized Pie Charts

    I am doing a course at the moment where we have to do what you are asking.
    We have to produce a number of different pie charts of different sizes, so that the areas of the different charts are proportionate to the total value they are representing.
    The way I understand it is that the square root of the total value represented by the chart is proportionate to the radius of the circle.
    So.. if you had chart A representing a total of $90,000 and chart B representing a total of $40,000 you would take the square root of both those values.
    The square roots would be 300 and 200 respectively.
    So you would make the radius of the charts proportionate to those values.
    Chart A could have a radius of 3cm and chart B could have radius of 2cm - and this should make the areas of the charts proportionate to the values being represented.
    Hope that makes sense...

    I'll paste the relevant section from my course materials below:

    Construction of proportional circles
    Designing proportional circles is an exercise in fitting the symbols into the available space. How large
    the symbols can be depends on how many are to be shown and the size of the paper to be used. There
    is also a constraint on the minimum size, especially if the circles are also to be divided up as pie charts.
    Usually, a one centimetre radius is about as small as can conveniently be drawn. Let us assume we wish to draw three proportional circles to represent a firm’s annual sales over a three
    year period. 1984’s value is $205M, 1983 - $150M, 1982 - $501M.
    If we decide to let a circle with a radius of 1 cm represent $100m, then the radii of the three circles can
    be determined as follows:
    $100M
    12
    =
    $205M
    X2
    The solution for X = 1.4 cm.
    That is, the circle to represent 1984’s sales would be 1.4 cm in radius.
    Solution: $100M
    12
    =
    $205M
    X2
    Cross–multiply: $100M . X2
    =12. $205M=$205M
    Divide both sides by $100M: $100M X2
    $100M =
    $205M
    $100M
    X2
    =2.05
    Take the square root of both sides: X2
    = 2.05
    X=1.4
    The size for 1983 is:
    $100M
    12
    =
    $150M
    X2
    X=1.2 cm
    For 1982:
    $100M
    1
    2
    =
    $501M
    X2
    X=2.2 cm

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1