Radar-XY Combination Chart
by Jon Peltier
Peltier Technical Services, Inc., Copyright © 2009.
Licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
In Plot your data around the clock, Chandoo proposed a complicated bubble chart to show website traffic vs. time of day.

I thought it was daring of Chandoo to try such a unique treatment of the data, but I found the bubbles difficult to interpret, and it was distracting that I had to look from chart to chart to try to see the whole picture. My complete review of Chandoo’s chart is in Rock Around The Clock.
Jorge Camoes has chimed in with a radar chart solution in Charting around the clock.

Jorge’s chart prevented the side to side motion needed to see the entire picture, but it does not show where the lines join to make a 24-hour record of the data.
Note: This chart is a novelty, and is not as good at representing the data clearly as a line chart would be. It’s really only effective at showing the difference between pairs of points 12 hours apart, the AM and PM values. This chart type cannot effectively show trends or compare values an hour or more apart. For effective data presentation, stick to line charts.
I created my own 12-hour circular graphic, which addresses my conceptual problems with the charts shown thus far. It’s actually a combination radar-XY chart, using the radar to reproduce Jorge’s nice Roman-numeral clock face, and the XY series uses Chandoo’s trig algorithms to locate the actual data.

I presented this chart in Rock Around The Clock, but I did not show how I made it. This post has instructions.
Radar-XY Combination Chart Data
The chart has two blocks of data. The first block in columns A and B consists of data that drives the labeling of the chart numbers. I’ve used Jorge’s Roman numerals for the time labels in column A (the category labels of the radar chart), and the values of 160 in column B correspond to the maximum value in the chart.
The data in Columns D through H are used in the XY series. The time in column D is the time in hours, with 0-11 AM followed by 0-11 PM. The radius (column E) is the set of values to be plotted radially from the center of the chart. We accomplish this in an XY chart by converting the angle and radius to X-Y coordinates. The angle goes from 0 to 360 degrees (0 to 2 PI) from 0 to 12 hours. Columns F and G contain trig functions to handle this conversion. Cell F2 has this formula:
=E2*SIN(D2/6*PI())
Cell G2 has this formula:
=E2*COS(D2/6*PI())
These formuas are filled down to row 26. Note that the first point is repeated at the end of the table: while the radar chart automatically connects the first and last points, an XY chart does not assume that the points trace a circuit.
Column H contains labels which will be applied to selected points.

Creating the Radar-XY Combination Chart
Start by selecting A1:B13, and create a radar chart. The data traces the circumference of the chart. I’ve changed the axis spacing from 20 to 40, because there were too many gridlines.

Change the gridline and axis (spoke) line color to very light gray. Change the data series and the axis labels to a medium gray, so these features will not overwhelm your plotted data.

Select and copy F1:G26, select the chart, and use Paste Special to add the data as a new series. Excel adds it as another radar series. Since it has 24 points, the series changes the chart so that it has 24 spokes, and the first series covers only half of the chart.

Right click the new series, choose Chart Type, and select an XY chart type. Excel plots the XY series on the secondary axes, and adds secondary X and Y axes to the chart.

Change the secondary X and Y axes so that both have a minimum of -160, a maximum of 160, a major unit of 40, and the matching axis crosses at zero. The axes are coincident with the axis of the radar chart.

Finally, format the secondary X and Y axis to be invisible: no line, no ticks, and no tick labels.

If you just want to show the 24 hour cycle, you can stop here. To help clarify the chart, I added some labels to selected points, showing the corresponding time, using Rob Bovey’s Chart Labeler.

You may want to show the daytime data points with different formatting. You can individually format the particular points, but I prefer to add a new series, so I can edit formatting in one step instead of one step per point. Copy F10:G21, select the chart, and use Paste Special as before to add the data as a new series.

Apply the desired formatting to the daytime series

Download RadarXYAroundTheClock.zip to see a workbook that shows these steps.
Possibly Related Posts:
- Radar Around the Clock
- Rock Around The Clock
- Clustered-Stacked-Column Combo Chart With Lines
- Clustered-Stacked Column Charts with Vertical Separators
- Individually Formatted Category Axis Labels
- Fill Between XY Chart Series (XY-Area Combo Chart)
- Fill Below an XY Chart Series (XY-Area Combo Chart)
- Stacked Area Chart Challenge
- How to Make a Donut-Pie Combination Chart
- Clustered-Stacked Column Chart with Target Line
Posted: Tuesday, August 19th, 2008 under Combination Charts.
Comments: 7
Comments
Pingback from Rock Around The Clock » PTS Blog
Time: Tuesday, August 19, 2008, 8:41 am
[...] Recent Posts Radar-XY Combination Chart [...]
Comment from Colin Banfield
Time: Tuesday, August 19, 2008, 9:52 am
Why folks think it necessary to invent these complicated and unreadable charts is something I’m yet to figure out. It’s as if somehow, the standard charts become too boring after a while. In my opinion, the best way to view this data is with a simple (yeah “boring”) line chart, period.
Comment from Jon Peltier
Time: Tuesday, August 19, 2008, 10:03 am
Colin –
I somewhat agree. My first alternative, you may recall (Rock Around The Clock), was a boring old line chart, and when I examine similar data myself, that’s what I use. But people like novelty, and when Jorge raised the stakes, I had to respond in kind.
It’s so difficult to be this competitive, and always right as well. As if.
Comment from Colin Banfield
Time: Tuesday, August 19, 2008, 10:43 am
Jon, understood. Perhaps you should put a disclaimer at the top of these anti-Tufte/Few posts :) The nice thing about the simple line chart is that you can clearly see traffic trend over the day, which isn’t obvious with the radar chart. By the way, I’m all for novelty, but only when the novelty serves a purpose better than or as an equal alternative to something else. In this regard, sparklines, bullet graphs and panel charts are examples of good novelties, but even these are variations of bread-and-butter charts. Another great novelty you’re recently blogged about is the Gapminder type animations.
In the end (except for marketing brochures), it’s all about (or should be about) presenting data in a manner that allows one to make informed decisions. I haven’t a clue what inferences could be made from the radar chart, far less the original bubble chart.
Comment from Jon Peltier
Time: Tuesday, August 19, 2008, 10:55 am
Colin – Good point. For many years I had on my site a tutorial showing how to make gauge-type charts in Excel. I think I did it for laughs, to show it could be done.
The tutorial received a lot of traffic, and I received many emails, mostly from people who couldn’t figure out the math behind it. I would tell them the gauge is not a very effective chart, and they wanted to use it anyway. Finally I took the tutorial down, and replaced it with a statement explaining why it was no longer available, and why it was an ineffective means of display.
Now I receive the occasional request to send the archived page to somebody, “just this once, I promise not to abuse it”. I politely decline. To use a gauge chart is to abuse a gauge chart.
Comment from Colin Banfield
Time: Tuesday, August 19, 2008, 11:38 am
Jon, I remember your gauge chart quite well..er…I think I have the stuff filed away in a folder somewhere ;) So many dashboard companies use these speedometer things that I think that ordinary folks believe it’s uncool not to have them (marketing can be a powerful influence sometimes). I must confess that I too was taken in initially. When one thinks of the effort it takes to emulate gauges and produce other not-so-useful charts in Excel though, it’s not even a question of diminishing returns, since the result isn’t superior to better alternatives that take less time and effort to create.
I just had a shuddering thought. Speedometers could show up in the next version of Excel!
Comment from Jon Peltier
Time: Tuesday, August 19, 2008, 1:52 pm
Gauge charts and pie charts (and probably others) suffer from being too common. People are so familiar with them, that they don’t realize the charts show nothing. Marketing tells people that it’s cool to use these displays, and people think it’s useful to use them.
















Write a comment
I welcome comments from my readers. If you have an opinion on this post, if you have a question or if there is anything to add, I want to hear from you. Whether you agree or disagree, please join the discussion.
If you want to include an image in your comment, post it on your own site or on one of the many free image sharing sites, and include a link in your comment. I'll download your image and insert the necessary html to display the image inline.
Read the PTS Blog Comment Policy.