Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sorting stacked bars based on the sum of two variables

    Code:
    graph hbar (asis) pc_cpd pc_cgd , over(country, sort(1) descending) ///
     blabel(bar, position(base) format(%4.1f)) stack nofill scheme(s1color) subtitle(, fcolor(white)) ///
     title("Per capita consumption in Arab Countries 2017") subtitle((US dollars/day)) name(consumption)
Working...
X