Incell Dot Plots in Microsoft Excel
Dot plots are a very popular and effective charts. According to dot plots wikipedia article,
Dot plots are one of the simplest plots available, and are suitable for small to moderate sized data sets. They are useful for highlighting clusters and gaps, as well as outliers. Their other advantage is the conservation of numerical information.
Today we will learn about creating in-cell dot plots using excel. We will see how we can create a dot plot using 3 data series of some fictitious data. We will create something like this:
Note: If you are new to in-cell charting, I suggest you read the incell bar charts article to understand the concept.
1. Take your data and massage it a bit
Since we are doing an incell variation of dot plot, we need to pre-process the data a little bit. Assuming we have data on revenues of 3 imaginary companies – MegaHard, Grape and Twogle like this:
We need to normalize the data to some meaningful number like 100 (remember, incell graphs print some character for each unit in the data.) so that the in-cell dot plot looks meaningful.
After normalizing the data we will also need to calculate some helper columns so that we can develop the incell dot plot easily. The helper columns (3 of them) will show,
- Smallest value in each row – 1
- Next smallest value in each row – previous helper column – 2
- The largest value in each row – previous two helper columns – 3
Helper columns ?!? why are we doing this?
The helper columns (or intermediate values) are usual practice when we need to pre-process data for dashboards or charts. Once the chart is ready, I usually hide the helper columns as they do not really say anything.
In our case, we are using helper columns since the formulas for plotting the incell dot plot are rather long and we would make then even longer if we don’t use these.
2. Identify Symbols for Each Data Series
This is the simple job. In our case I have shown the symbols we are going to use in the above image. You can find some interesting symbols like triangles, rectangles, circles etc. in a regular font like Arial. Just go to Menu > Insert > Symbol (or Insert > Symbol in Ribbon) to find the symbols you like.
Let us assume the symbols are in the range C5:E5
3. Finally Write the Formulas That Generate the In-cell Dot Plot
Now comes the fun part. We have the normalized data in the range C16:E16, and the helper values in F16, G16, H16.
For the first row of the dot plot, the formula looks like:
huh! it has to be one of the longest formulas I have written in a while.
I thought long and hard about how this formula can be explained and came up with the below illustration.
Once you have the formula for one row, we just need to copy paste it over the entire range to show dot plot for each year of the data. That simple!
How to Generate 2 Series Dot Plots?
The 2 series dot plots have even simpler formulas. So I am leaving it to your imagination. But when you finish it, the dot plot looks something like this:
Download the In-cell Dot Plot Template and Make your own Dot plots
The downloadable workbook has examples for 2 series and 3 series in-cell dot plots. Go ahead and play with it.
Further Resources on Dot Plots
Dot plots are not new, there is quite a bit of material and tools available for you to understand and make dot plots. They are proven to be very effective tools for communicating small to medium series of data. I suggest you to read few of these articles to learn more about dot plots.
More on In-cell Charts
Leave a Reply
|Networkingdays() an improved version of networkdays formula||Interviewing Garr Reynolds on this Friday, send me your questions|