Data visualization with SAS programming

I need to analyze using sas to make an circos chart

Accepted Solution Solved
Reply
Occasional Contributor rof
Occasional Contributor
Posts: 7
Accepted Solution

I need to analyze using sas to make an circos chart

[ Edited ]

 

dear I need to interpret my result  in sas9.4 like circos 

 

i need sas statement code to do it in sas to visualisation  like figure at this linkhttp://mkweb.bcgsc.ca/tableviewer/archive/

 

Any help....

thank you in advance

 


Accepted Solutions
Solution
‎10-11-2016 05:27 AM
SAS Super FREQ
Posts: 1,108

Re: I need to analyze using sas to make an circos chart

I have used SGPLOT to create the graph shown here.  It does take a bit of data step coding, but can be done.

 

This shows some made up data for players from one country playing in another.  This is based on a similar Circos plot during the 2014 World Cup.

 

All arcs start and end in the middle of the segment.  This conveys the information, but spreading the start and end points could be done too.  Width of link represents the number of players.  

 

If this is what you want, I can share this code.

 

Circle_Links_To.png

 

Circle_Links.png

 

 

View solution in original post


All Replies
Super User
Super User
Posts: 7,401

Re: I need to analyze using sas to make an circos chart

You will find many examples with code of graphs here:

http://blogs.sas.com/content/graphicallyspeaking/

As for this circos, never heard of it, it just looks like colourful pictures to me.  You could maybe emulate it with pie charts, turning off the axis etc.  Have a go and come back with any questions.

Super User
Posts: 10,500

Re: I need to analyze using sas to make an circos chart

See if you have the SAS Network Visualization Workshop installed. It may be part of SAS Graph.

Solution
‎10-11-2016 05:27 AM
SAS Super FREQ
Posts: 1,108

Re: I need to analyze using sas to make an circos chart

I have used SGPLOT to create the graph shown here.  It does take a bit of data step coding, but can be done.

 

This shows some made up data for players from one country playing in another.  This is based on a similar Circos plot during the 2014 World Cup.

 

All arcs start and end in the middle of the segment.  This conveys the information, but spreading the start and end points could be done too.  Width of link represents the number of players.  

 

If this is what you want, I can share this code.

 

Circle_Links_To.png

 

Circle_Links.png

 

 

Occasional Contributor rof
Occasional Contributor
Posts: 7

Re: I need to analyze using sas to make an circos chart

dear 

Occasional Contributor
Posts: 14

Re: I need to analyze using sas to make an circos chart

I've been looking for something like this!

 

Would you mind sharing the code?

 

Thank you!

 

 

SAS Super FREQ
Posts: 1,108

Re: I need to analyze using sas to make an circos chart

Sorry for my slow response.  I am out of the country to PhUSE conference.  I will post the code when I get back as it may need some tweaking.   Note:  The code uses SAS 9.4M3, and we have to compute the circular layout ourselves, and we use SGPLOT mainly as a drawing tool.  One could also use Annotate, but I prefer to stay clear of that unless absolutely necessary.

Occasional Contributor rof
Occasional Contributor
Posts: 7

Re: I need to analyze using sas to make an circos chart

did you receive an code ?

##- Please type your reply above this line. Simple formatting, no
attachments. -##
SAS Super FREQ
Posts: 1,108

Re: I need to analyze using sas to make an circos chart

Occasional Contributor
Posts: 14

Re: I need to analyze using sas to make an circos chart

Thank you!

SAS Super FREQ
Posts: 1,108

Re: I need to analyze using sas to make an circos chart

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 10 replies
  • 658 views
  • 4 likes
  • 5 in conversation