I have SAS Base 9.4. I have used this code in the past with a different data step and my lollopop chart turned out as expected but this time my hbarparm is not lining up right. Also, my colors I specified are not showing up. Does anyone have a solution?
Here is the code, attached are the results ...
data data15 ;
input diabet1 risk1 percent1;
1 1 27.5
2 1 74.0
1 2 34.3
2 2 66.5
/*format percent w/ %*/
1="High blood pressure"
set data15 ;
format percent1 PERCENT7.1 risk1 riska. diabet1 diabet.;
The clusterwidth=0.2 needs to be on the SCATTER and TEXT statements so that they line up with your HBARPARM.
SAS INNOVATE 2024
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.