The SAS Output Delivery System and reporting techniques

How can I modify the following histogram to see the exact values for each bar?

Reply
Contributor
Posts: 57

How can I modify the following histogram to see the exact values for each bar?

I have generated the following histogram using PROC UNIVARIATE. I would like to modify this plot to see the exact values for each bar. 


Histogram.JPG
Super Contributor
Posts: 490

Re: How can I modify the following histogram to see the exact values for each bar?

Add 

/barlabel=percent

to your histogram statment.

 

Exmple:

 

How do I make a histogram with percentage on top of each bar?

Contributor
Posts: 57

Re: How can I modify the following histogram to see the exact values for each bar?

Thanks @Mohmad_Zaki Smiley Happy
Super User
Posts: 9,691

Re: How can I modify the following histogram to see the exact values for each bar?

proc sgplot data=sashelp.cars;
histogram horsepower/ datalabel ;
run;
Contributor
Posts: 57

Re: How can I modify the following histogram to see the exact values for each bar?

Thanks KSharp!
Ask a Question
Discussion stats
  • 4 replies
  • 491 views
  • 2 likes
  • 3 in conversation