3 Replies Latest reply on Jun 20, 2018 1:01 AM by naresh.suglani.0

# How to create a radar chart?

Hi all I've had a look at the tableau online guide to creating radar charts but unsure how to apply the calculations to my data to create a chart for myself.

Can anyone help me out with the dataset I've attached? This consists of region data for different products together with market share %.

I've left the X and Y columns blank in the attached file.

Ideally I'd like the result to look similar to the image below with some label fields............

• ###### 1. Re: How to create a radar chart?

Hi Naresh,

Maybe this will help; Building Radar Charts | Tableau Software

Thanks,

Mavis

• ###### 2. Re: How to create a radar chart?

There are lots of pieces to creating a chart like the one you've shown. The grey key in the background will need to be an image. Then you'll have to use trigonometry to create the radar in the middle. I'm attaching a workbook I created using your data, which should give you what you need.

Here are the basic steps:

1) Create the background image.

This could be done using PowerPoint (see my blog on creating graphics for Tableau using PowerPoint: Using PowerPoint for Tableau Graphics - Ken Flerlage: Analytics Architecture, Strategy, & Visualization ) or some other graphics editing tool. I decided to use some trigonometry to generate this in Tableau. See my post on using Trig in Tableau: Beyond "Show Me" Part 2: Trigonometry - Ken Flerlage: Analytics Architecture, Strategy, & Visualization. I created this:

This basically just creates 7 points based on the number of product types in your data. I fixed the Y and X axes to -1.1 to 1.1, which I'll use later.

2) Edit the image to add the lines.

I saved this to Tableau Public, then used the "pixelratio" trick from Data + Science to export a high resolution image of this. I then opened it in PowerPoint, drew some lines on top of it, then saved the entire image as a PNG (again, see my blog on image manipulation in PowerPoint). The result is this:

Using trig with Rate as my radius, I plotted points of the radar and changed it to a polygon. See the workbook for the actual calculations. You'll get something like this:

4) Add the background image.

Since my background image axes were fixed to -1.1 to 1.1, I did the same here. I then added my background image (see Use Background Images in Your Views).

And here's the end result:

Again, see the workbook for calculations. I've commented them to make them easier to follow. If you're not familiar with trigonometry, then I highly recommend reading the blog post mentioned above as it provides a refresher, which should make it easier to understand my calculations.

I've also attached the background image if you'd like to use it.

If this answers your question, please be sure to mark this answer as correct. Thanks!

1 of 1 people found this helpful
• ###### 3. Re: How to create a radar chart?

Hi Ken, this looks great, and as I expected, there are a lot of steps to get the desired effect. Thanks for your kind assistance with this. I'll take a look at the steps to creating the shapes as I'm sure this will come in useful if I have more or less product types in the future.