I can get separate histograms for each occurrence of the variable "tipo" by using this code proc sgplot data=dc6 NOAUTOLEGEND; vbar cod_prob /response=popresidente group=cod_prob; title justify=center "xxxxx"; xaxis label='probability (%)' labelattrs=(size=7) valueattrs=(size=7); yaxis label='population' labelattrs=(size=7) valueattrs=(size=7) values=(0 to 15000000 by 1000000); format popresidente comma10.0; by tipo; run; I wonder whether it is possibile with SAS to obtain a histogram with separate groups of bars, like in graph attached I made by using excel. Thanks for your help Leandro D'Aurizio IVASS (Italy)
... View more