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.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.