Data visualization with SAS programming

Creating alluvial diagrams in SAS

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 18
Accepted Solution

Creating alluvial diagrams in SAS

Hi everyone,

 

I would like to make an alluvial diagram in SAS. I searched google and found only one link, which can be improved I guess. I though I can ask the experts. @WarrenKuhfeld, Sorry Sanjay I couldn't tag you here.

 

Here is the one link I found:

https://www.linkedin.com/pulse/alluvial-diagram-using-sas-ods-graphics-dmitry-shopin

 

I have also noticed that this diagram can be make using SAS Visual Analytics, but I don't have this unfortunately. 

I would like to create something like this, although I know it can not be an interactive graph in SAS:

https://vizhub.healthdata.org/fgh/

 

Any help, ideas, codes please? I think this is a worth of a post in the Graphically Speaking Blog.

 

Ubai


Accepted Solutions
Solution
2 weeks ago
Super Contributor
Posts: 460

Re: Creating alluvial diagrams in SAS

This is, I think, what is also called a Sankey Diagram - to be honest I don't like them as I fail to see how anyone can make any sense of the multitude of crossed lines but you might find this helpful from Github https://github.com/RhoInc/sas-sankeybarchart

View solution in original post


All Replies
Solution
2 weeks ago
Super Contributor
Posts: 460

Re: Creating alluvial diagrams in SAS

This is, I think, what is also called a Sankey Diagram - to be honest I don't like them as I fail to see how anyone can make any sense of the multitude of crossed lines but you might find this helpful from Github https://github.com/RhoInc/sas-sankeybarchart

SAS Super FREQ
Posts: 375

Re: Creating alluvial diagrams in SAS

Posted in reply to ChrisBrooks

I don't have anything to add beyond what has already been posted.  I know Shane Rosanbalm from Rho who wrote the code to which @ChrisBrooks referred you. Shane is an excellent ODS Graphics programmer, so I would follow his lead.

Occasional Contributor
Posts: 18

Re: Creating alluvial diagrams in SAS

Thank you both. I'll use it.

☑ This topic is solved.

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

Discussion stats
  • 3 replies
  • 114 views
  • 3 likes
  • 3 in conversation