hello,
I would like to learn a way to draw a tree graph as the one attached.
As you can see the first node represents a total and the other child nodes various subtotals.
I would have the possibility:
So there are two issue:
Any suggestions, tips, codes are greatly appreciated
thank you very much in advance
the tree (without labels) is called a dendrogram. Here is an example of how to use the DENDROGRAM statement in the Graph Template Language (GTL).
I don't have an opinion about the best way to add the labels. Others will offer their advice.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.