Data visualization with SAS programming

Spiral / Radar Type Plot

Reply
New Contributor
Posts: 4

Spiral / Radar Type Plot

I would like to produce a plot like the one here: http://www.climate-lab-book.ac.uk/2016/spiralling-global-temperatures/ where there are obviously multiple data points for each month (one for each year). Ideally I would like to use a different colour for each year. The RADAR procedure comes close to providing what I need but not close enough.

SAS Super FREQ
Posts: 1,042

Re: Spiral / Radar Type Plot

[ Edited ]

Spiral Plot:http://blogs.sas.com/content/graphicallyspeaking/2014/07/08/spirals/

You can just color the spiral or the needles with the appropriate color. 

 

While this may not be what you want, I also created a Spiral Heat Map to display the mean temperature by month over 5 years using SAS 9.4.  Image is attached.  I will post an article on this soon.

Attachment
New Contributor
Posts: 4

Re: Spiral / Radar Type Plot

Dear Sanjay, thanks for your prompt and helpful reply. The example in http://blogs.sas.com/content/graphicallyspeaking/2014/07/08/spirals/ doesn't include the 12 axes for each month of the year that I would need but I note that your attached image does have this feature and so I very much look forward to your forhcoming article.

SAS Super FREQ
Posts: 1,042

Re: Spiral / Radar Type Plot

The code is meant to show you how to create a spiral using the SGPLOT code.  It is not meant as a canned solution to your needs.  You can modify the code to suit your needs.

New Contributor
Posts: 4

Re: Spiral / Radar Type Plot

Thanks and understood.

SAS Employee
Posts: 963

Re: Spiral / Radar Type Plot

Here's a custom SAS/Graph with 12 monthly spokes you might could use as a starting place to modify into the graph you're wanting:

 

http://robslink.com/SAS/democd55/albany_ny_circular.htm

http://robslink.com/SAS/democd55/albany_ny_circular_info.htm

 

albany_ny_circular.png

New Contributor
Posts: 4

Re: Spiral / Radar Type Plot

Robert, many thanks that is really helpful and will save me reinventing the wheel (or maybe that should be reinventing the spokes).

Post a Question
Discussion Stats
  • 6 replies
  • 347 views
  • 4 likes
  • 3 in conversation