What type of chart? Bar, Box, series, scatter something else?
What does your data look like. Best is to post a data step of some of the data. Instructions here: https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.
Which variables are to be plotted? Sums, counts, values, percentages or ???
Catch up on SAS Innovate 2026
Dive into keynotes, announcements and breakthroughs on demand.