Hi,
Can radars be created with proc sgplot or GTL using SAS 9.4 or do we have to use the old procedure proc gradar?
There's not a RADAR statement available in SGPLOT. You could technically build one from primitive parts -- here just showing circles and polygons, but you could enhance by adding labeled points (using the SCATTER statement) and vertical / horizontal lines using, e.g., the VECTOR statement.
data shapes;
* cirles ;
x=20;
y=20;
do i=1 to 5;
size=i*15;
output;
end;
* polygons ;
call missing(of x, y, size);
id=1; color=1;
px=20; py=20; output;
px=-10; py=40; output;
px=20; py=30; output;
px=50; py=70; output;
px=30; py=-20; output;
px=20; py=20; output;
id=2; color=2;
px=20; py=20; output;
px=-50; py=10; output;
px=-10; py=20; output;
px=40; py=30; output;
px=70; py=-50; output;
px=20; py=20; output;
run;
proc sgplot data=shapes noautolegend;
bubble x=x y=y size=size / absscale nofill;
polygon x=px y=py id=id /
colorresponse=color colormodel=(blue red)
outline fill transparency=0.4;
run;
However, whether the amount of effort it will take to get something better than you could with GRADAR (if that still exists) is worth it is up to you.
Hello ,
This is about radar charts in Visual Analytics !
Google search
+"radar chart" +"custom graph" site:blogs.sas.com
brings you to :
See also --> Visual Analytics Custom Graph Examples
https://github.com/sassoftware/va-custom-graphs
(I believe there's a radar chart object ... you can download the *.JSON file and import in your environment to make it available to you and your peers)
For more information on custom graph objects / graph templates / custom graph builder, you can do this Google search:
+"graph builder" +"custom graph" site:communities.sas.com
Ciao, Koen
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 lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.