Sanjay, there is a missing ';' in: proc sgplot data=cars; histogram logMpg / fillattrs=graphdata1 {it goes here} run;