This visualization focuses on income quintile trends in Ghana, Burkina Faso and Tanzania. These countries were chosen to represent three different types of inequality trends on the African continent: Ghana shows rising inequality, Burkina Faso falling, and Tanzania an inverted u-shaped ∩ inequality trend.
Income quintiles are illustrated by two charts: a stacked bar chart to represent change in proportion of each country’s total income, and a positive/negative bar chart to illustrate percentage change. Text is generated from the data as the user interacts with the graphs.
The World Development Indicators data used for this visualization are incomplete, so starting and ending years are different for each country. This created a challenge when trying to design a comparative visualization.
This was coded in D3.js by Rye Zupancis with the incorporation of Mike Bostock’s templates listed below.
Sources:
Odusola, Ayodele, Radhika Lal, Rogers Dhliwayo, Isiyaka Sabo, and James Neuhaus. "Country context matters in promoting equity: Drivers of inequality are heterogeneous in Burkina Faso, Ghana and Tanzania." Income Inequality Trends in sub-Saharan Africa: Divergence, Determinants, and Consequences, 2017.
“World Development Indicators Data Bank.” http://databank.worldbank.org/data/reports.aspx?source=world-development-indicators
Mike Bostock. "Stacked Area Chart." https://bl.ocks.org/mbostock/3885211
Mike Bostock. "Bar Chart With Negative Values." https://bl.ocks.org/mbostock/79a82f4b9bffb69d89ae