Data visualization with SAS programming

How to create custom map (Calgrid)

Reply
Contributor
Posts: 60

How to create custom map (Calgrid)

Hi!

 

I have data in this format:

 

Year Quater f1 f2 f3 f4 ...

2013 Apr 15 13 9 10

2013 Jul 24 20 25 19

2013 Oct 16 17 21 16

2014 Jan 5 2 6 8

2014 Apr 13 13 15 19

2014 Jul 20 24 19 19

.

.

.

I would like to create a CALDRID map, similar as in this paper (page 10):

 

http://www2.sas.com/proceedings/sugi30/137-30.pdf

 

Just on y axis I want to have years and quaters and on x-axis i want to have f1 f2 f3 f4.

 

How could I do it?

 


Thank you

SAS Employee
Posts: 967

Re: How to create custom map (Calgrid)

Here's the code that creates the 'calgrid' chart:

 

http://robslink.com/SAS/democd1/calgrid_info.htm

 

Since it's a custom thing, where I worked out the x/y geometry of each square (based on the date), in theory you could create whatever geometry you want, to create a similar visualizaiton (but with years & quarters, etc). 

Ask a Question
Discussion stats
  • 1 reply
  • 110 views
  • 0 likes
  • 2 in conversation