World Leader Exits


Suppose you have the following dataset*, which is a list of leaders for all independent states in the world as outlined in Gleditsch and Ward.

With this data, plot the number of leaders by their exit code ('exitcode' in data) and the year that their rule ended ('endyear' in the data). You can represent this in a stacked bar chart, with the x-axis showing the end year and the y-axis showing the count of leaders by exitcode represented as a stacked bar chart.

*Dataset source


Access restricted

Subscribe to premium account to see the solution.

Get premium now