Mar 29, 2016

Random graphs (68): Bar graph

use sharew1_rel2-6-0_ch.dta, clear

recode ch001_ (0/4  =  0   "Less than five children") ///
              (5/17 =  100 "Five children and more") ///
              (-1   = .a "Refusal") ///
              (-2   = .b "Don't know") ///
             , gen(largefamilies)
   
graph bar largefamilies if country != 25, over(country, sort(largefamilies)) ///
          horizontal ytitle("% with five and more children") ///
   note(" " "{it:Source:} SHARE wave 1, doi:10.6103/SHARE.w1.260", span) ///
          yalternate