Is it possible to create a bar graph with multiple series and have n and percent labeled over the bar.
Example data is :
| White | Pct | Asian | Pct | |
| Abdominal Pain | 29 | 0.381579 | 3 | 0.375 |
| Backache | 13 | 0.173333 | 1 | 0.125 |
| Dysphagia | 10 | 0.131579 | 0 | 0 |
| Hemoglobinuria | 43 | 0.565789 | 3 |
0.375 |
For example, for white abdominal pain over the bar I would like 29 (38%) or Asian over the
bar I would like abdominal pain 3 (38%).
Thank you in advance.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.