42% of the world goes to polls around a pie chart – Like it or hate it?

Share

Facebook
Twitter
LinkedIn

Today let’s have a poll. Lets debate if this pie chart about world elections in 2014 is good or bad.

First lets take a look at the chart

This chart, published by The Economist talks about how 42% of the world population is going to vote this year. Take a look:

42% World goes to polls in 2014 - Pie + Donut chart from Economist

My thoughts on this chart

Usually I try to avoid pie and donut charts. But this combination works. I like the simplicity of the chart and the clear message. Although rotated labels around the chart are tricky to read, you get the message quickly.

Even though a typical time line chart or map chart can convey the same information, they do not look as exciting and attention grabbing this one. Also, depicting the time line of events on a map is really tricky (unless you go for animated chart or use too many labels).

Can this be made in Excel?

Gerald asks can this chart be done in Excel?

Gerald, One of our fans on Facebook asked if this chart can be recreated in Excel? That got me thinking… why not?

42% of world population goes to polls - chart recreated in Excel

Steps for creating this chart in Excel

1. First organize the data. You can download election data from electionista. Since electionista site only showed data for next 6 months, I gathered rest of the data from Economist’s chart.

2. Make the 12 sliced donut

In a blank range, type the names of all 12 months and enter 1 in adjacent column for all of them. Now select everything and insert a donut chart.

3. Format the donut chart

  • Select the slices of donut and fill all of them with same color.
  • Select second slice of the donut. You have to click twice on the second slice, once to select all slices, again to select the particular slice.
  • Fill it with another color.
  • Repeat the process for every other month (April, June… December). You can just select each of these month’s slices and press F4 to repeat last action (which is filling the color)
  • Finally fill the plot area & chart area of donut chart with no color. This makes the donut chart transparent so that anything behind it shows thru.
  • Remove any chart titles, legends.

4. Calculations for the pie charts

As per the data, there are 48 elections in 2014. But if you plot these 48, the pie slices will not properly align with the months to which they belong. So we need to insert some gap slices so that each month’s elections are plotted in that wedge.  Do not understand.. see this:

Incorrectly mapped country names to months

To fix this, we need to insert a few gap slices between elections. How many gap slices ?!?

Well, to answer that question, we first need to find out what is the maximum number of elections in any month?

The answer is 11.

So, we are going to create a pie chart of 12 x 11 = 132 slices. Then, for each month, we just put the names of countries that have election in that month. If a month has only 5 elections (February for example), then we leave the rest of 6 cells in Feb empty. All of this can be done with lookup formulas. INDEX + MATCH to be exact. I am leaving how part of this to your imagination.

Once we have mapped the 48 election dates to 132 cells, we need to separate the country names to 3 columns depending on type of election. Legislative in first column, Presidential in 2nd column and Referendums in 3rd column.

The final calculations look like this:

Calculations to map country names to months - world elections in 2014 chart

5. Make pie chart for legislative election dates

Select legislative & dummy columns. Insert a pie chart.

Now format the pie chart.

  • Fill color for slices = no color
  • no line
  • Set data labels to category
  • Set the location of data labels to “outside edge”
  • Color data labels.
  • Set fill color for plot area & chart area to no color as well.
  • Remove any chart titles, legends.

6. Repeat the process and create 2 more pie charts

One for Presidential & one for Referendum election dates.

7. Insert another pie chart

For 42% center pie chart. Just type 42% in a cell, 58% in another. Select both, insert a pie chart. Format it.

8. Align all charts

  1. Select all charts (by holding ctrl key or using Home ribbon > find & select > select objects tool
  2. Go to Format ribbon > Align
  3. Select Align in the middle
  4. Select Align Center

This ensures that everything is aligned properly.

Now adjust the sizes of these charts as needed until you get desired effect.

Since all charts are transparent, they work like layers to give you the desired effect.

How does the layering work?

This is how the layering works.

How chart layering works - world elections in 2014 chart

Download World Elections in 2014 Excel chart

Click here to download the chart workbook. Examine the charts, formulas and formatting to understand this better.

Our own election – Like it or hate it? World Elections in 2014 chart

Lets have our own election. What do you think about the world elections in 2014 chart? Do you like it or hate it?  Please vote using comments.

Discussion on pie charts

At Chandoo.org parliament, we debate pie charts (and donuts, bars, spiders and scatter plots too) often. Here are some important bills we passed,

Facebook
Twitter
LinkedIn

Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Overall I learned a lot and I thought you did a great job of explaining how to do things. This will definitely elevate my reporting in the future.
Rebekah S
Reporting Analyst
Excel formula list - 100+ examples and howto guide for you

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Advanced Pivot Table tricks

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

7 Responses to “Project Dashboard + Tweetboard = pure awesomeness!!!”

  1. Dan Murray says:

    I would like to see actual hash-tagged DM tweets go out to the specific information consumers. That would be an interesting way to communicate the key daily data to interested parties.

    A Twitter-like secure application like Yammer might be a good fit with this.

    For example, how about daily tweets to selected user groups (secure) that would display sales, bookings, cash receipts, cash disbursed and a second version that would show the same info for MTD, QTD or YTD figures.

  2. Aires says:

    @Dan, it would be great. I did not taught about implementing it on this dashboard because twitter is blocked to the whole intranet here. However, there's a discussion here about how can we send these tweets to blackberries (probably through e-mail) automatically. (I'd like to see this implemented on a jabber restricted network as well, but here it'll probably not happen)

    The wrap-up versions you mentioned doesn't apply to my particular scenario, but on a sales tweetboard it would be a great tool indeed - choosing who will receive which message according to hashtags. I'll think on something, thanks for the advice. 🙂

    (Ah, btw, I'm Fernando... 🙂 )

  3. Chandoo says:

    @Dan: That is a fun idea. Instead of tightly integrating twitter functionality with a dashboard, i think it would be cool if we have a "tweet this" button that users can click after selecting a range of cells. We can easily show a dialog with the concatenated output of the selected cells and ask user to edit the text and eventually "send to twitter".

    For eg. you can select the annual sales figure cell and click on "tweet this" button upon which a dialog will show the value. Then you can pre-pend it something like "DM @boss look at our sales this year: "

    @Aires.. thanks once again.

  4. Wow it looks really good. Not sure though how much the tweet facility would help in real world project management, but certainly having a dashboard on a project should be a key deliverable when learning how to manage a project

    The other use of this is during the software development life cycle especially when you have parallel streams of development and testing going on. Using a dashboard is a quick way for everyone on the team to see where the project is at and how it all fits together.

    Regards

    Susan de Sousa
    Site Editor http://www.my-project-management-expert.com

  5. Sue says:

    Hi Chandoo,
    I purchased the project management toolkit but the dashboard shown above with the imbedded scroll bars. Is it included in the project pack??
    Thanks

    Sue

  6. XLCalibre says:

    The gantt chart section of this dashboard is similar to one I have recently created: http://xlcalibre.com/hr-dashboard-gantt-chart-traffic-light-reportIt has a similar approach with scroll bars, but has a couple of additional features. I've tried to incorporate a traffic light report element, and also allow the timescale to adjusted so that can view it by days, weeks or months.I really like the other tables that you've incorporated, I may well try to replicate them to improve my version!

  7. I am a monitoring and evaluation consultant in international development, and one of the services I offer is to help non-profits and foundations develop performance dashboards.  I often advise them to develop dashboards for ongoing programs, rather than for one-time or pilot projects, because of the time involved.  I am trying to find out from a few people how long it takes you to develop a project management dashboard, and to what extent the indicators vary from one project to the next.

Leave a Reply