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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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