04-04-2018 02:12 PM - edited 04-04-2018 02:22 PM
I have this dataset and I want to produce a bar chart like this
Can you please help me with this my first time doing a bar chart
04-04-2018 02:25 PM - edited 04-04-2018 02:27 PM
There are a number of examples shown for PROC GCHART. Please give it a try and if you can't get it to work, show us your code.
There are a number of examples show for PROC SGPLOT. See if any of those get's you the results you want.
04-06-2018 01:50 PM - edited 04-06-2018 01:53 PM
This is the chart that I got from changing the data structure and using this code
this is the dataset
Obs Vname Vvalue1234
this is the code
proc gchart data=set5;
this is the chart
04-06-2018 03:18 PM
Let me strongly un-recommend the 3D option.
Just because you CAN make 3D bar charts with SAS software does not mean that you SHOULD make 3D bar charts. 3D bar charts are very difficult to interpret and often misleading.
04-06-2018 03:24 PM
I do agree with Paige. If you want a 3-D'ish appearance on your bars without obscuring in the information, trying using a DATASKIN. Run this and see what you think:
data temp; input measure $ 1-15 value; cards; Site_Initiated 39 Site_Approved1 6 Date_Supplied4 7 site_contracted 34 ; run; proc sgplot data=temp; vbar measure / response=value dataskin=pressed; run;
04-04-2018 02:43 PM
You probably would have an easier way to chart it, if you data set was structured like this
Hope this helps,
Need further help from the community? Please ask a new question.