Hello,
SAS VIYA 3.5
SAS Visual Analytics 8.5
Can anyone advise if it would be possible to have a dot plot with multiple measures? Or to create custom chart?
I would like to create a plot similar to the one attached.
Thank you,
smm662002
Use the custom graph builder
This should give you what your are after.
As an alternative you can overlay another line chart on the existing one, apply the same changes (this time no group), change the marker symbol for the second line chart to something else
BTW in the graph builder you can change the x axis for a scatter plot to be a category. But be aware a scatter plot will not do any aggregation of the data, it will plot all datapoints.
From what you see a data set with 3 variables should be able to replicate that. Two variables are the x and y axis variables. The third would indicate which "group" would be used to identify and set properties like marker type, color and size.
If by different "measures" you mean different variables holding one of the values then you modify the data to have a generic "value" variable, pick your name, and then add the group variable base on which variable supplied that value.
I don't use VA so won't try to provide an example but once you have data that looks like that it should be relatively easy.
An example would be the SASHELP.Class data set. Think of the X axis as Height, Y axis as Weight and Sex or Age as group variable.
Did you try placing one scatter plot on top of the other using the Graph Builder? You can have a Y axis for each plot.
-------------------------------------------------------------------------
Four tips to remember when you contact SAS Technical Support
Tricks for SAS Visual Analytics Report Builders
SAS Visual Analytics Learning Center
Use the custom graph builder
This should give you what your are after.
As an alternative you can overlay another line chart on the existing one, apply the same changes (this time no group), change the marker symbol for the second line chart to something else
BTW in the graph builder you can change the x axis for a scatter plot to be a category. But be aware a scatter plot will not do any aggregation of the data, it will plot all datapoints.
@smm662002 you won't get a better proposal than @BrunoMueller has suggested.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.