BookmarkSubscribeRSS Feed
viollete
Calcite | Level 5

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

1 REPLY 1
GraphGuy
Meteorite | Level 14

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). 

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 971 views
  • 0 likes
  • 2 in conversation