BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Ubai
Quartz | Level 8

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

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisBrooks
Ammonite | Level 13

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

4 REPLIES 4
ChrisBrooks
Ammonite | Level 13

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

WarrenKuhfeld
Rhodochrosite | Level 12

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.

Norman21
Lapis Lazuli | Level 10

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

 

Actually, I think this is a way of making an important point - the "trends" in stacked bar charts over time are due to complex movements of individuals between categories, something which many people do not appreciate.

Norman.
SAS 9.4 (TS1M6) X64_10PRO WIN 10.0.17763 Workstation

Ubai
Quartz | Level 8

Thank you both. I'll use it.

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 4 replies
  • 2306 views
  • 4 likes
  • 4 in conversation