I would like to create a graphic in which a histogram that shows the frequencies for one variable (Ability in the data example, Have) shares an axis with a scatterplot of two other variables (X = Item and Y = Difficulty in the data example). That is, the values of Ability and Difficulty would all reference a common axis as shown in the Want figure below. Ideally, the scatterplot points would be labeled with another variable (Label in the data example). Any idea whether and, if so, how this can be done in SAS?
You might look at the code here: https://support.sas.com/kb/35/172.html
This shows a scatter plot with histograms of both the x and y variable. So removing the x variable bits for the histogram may do what you are looking for.
Warning: it does not show the count for the histogram bar lengths.
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.
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.