## I need to analyze using sas to make an circos chart

Solved
Occasional Contributor
Posts: 7

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

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

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

All Replies
Super User
Posts: 8,798

## 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: 12,316

## 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,237

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

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,237

## 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
Posts: 7

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

did you receive an code ?

attachments. -##
SAS Super FREQ
Posts: 1,237

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

Occasional Contributor
Posts: 14

Thank you!

SAS Super FREQ
Posts: 1,237

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

☑ This topic is solved.