Produce the second horizontal bar chart with modified midpoints. MIDPOINTS= specifies the middle value of the range of values represented by each bar. FREQ requests that only the frequency statistic appears in the table. FREQLABEL= specifies the text for the column header in the table of statistics.
   hbar3d age / midpoints=(20 30 40 50)
                freq
                freqlabel='Total in Group'
                subgroup=sex
                autoref
                maxis=axis2
                raxis=axis1
                legend=legend1
                coutline=black;
run;
quit;