Hi. I have been trying to create this graph in Stata for quite a while now (attached in Excel). It is usually called 'cascade chart' or 'column chart with variable width bars'. I have tried to use a range of commands (including 'graph twoway bar' and 'graph bar') but I have not managed to overcome the fact that I only have continuous variables. My dataset is structured as follows: I have a panel dataset for several countries (id) and several years (time). I have data on sectoral employment shares and sectoral labour productivity for 8 economic sectors. Each of these are a unique variable, so I have 8 [sectors] x (employment + productivity) = 14 variables. This structure helps the type of calculations I have to perform, but I would consider reshaping it. The key insight of this graph is that the height of the bars measures labour productivity in each sector, while the width of the bars measures their respective share in total employment. Moreover, the area of each bar can then be seen as a (rescaled) measure of sectoral output (Yi/Ei * Ei/E = Yi/E). This graph provides a snapshot for a single country (id) and a single year (time). Would anyone be able to provide some insights on how it might be possible to implement this in Stata?

Many thanks in advance,

Pedro

http://peltiertech.com/variable-width-column-charts/

http://www.andypope.info/charts/colwidth2.htm

Many thanks in advance,

Pedro

http://peltiertech.com/variable-width-column-charts/

http://www.andypope.info/charts/colwidth2.htm

## Comment