Dears,
I am trying to figure a bar chart by id over the period 1990-2021.
I use the following command
bys id: egen mean_inequal = mean( gini)
bys id: replace mean_inequal = . if _n>1
tw (bar mean_inequal id), title(Average Inequality by country from 1990-2021) xtitle("countries")
However, I couldn't get all the countries in the bar. Plus, how can I change the color and size of the bar?
Attached figure is from a published paper. I want to generate a similar figure
Thanks
I am trying to figure a bar chart by id over the period 1990-2021.
I use the following command
bys id: egen mean_inequal = mean( gini)
bys id: replace mean_inequal = . if _n>1
tw (bar mean_inequal id), title(Average Inequality by country from 1990-2021) xtitle("countries")
However, I couldn't get all the countries in the bar. Plus, how can I change the color and size of the bar?
Attached figure is from a published paper. I want to generate a similar figure
Thanks
Comment