Visualizing Youth Employment and Agrifood Futures


This document is produced using Quarto (see in R) and offers an example of how we might create web files that contain text and interactive visualizations to support the June workshop in Mombasa.

Web Site Structure

This is a one-page example and could include hyperlinks to other pages that examine specific linkages. For example, this could be a structural transformation page and include links to other pages that explore employment trends across varying levels of economic development.

Embedding Static Images

There are some images from reports/papers that on a standalone basis can stimulate important conversations and it’s important for our chosen presentation medium to be able to include those.

Here is an example

Illustration of cross-sectoral components influencing outcomes with agri-food

Interactive Plot Example: Agriculture’s Contribution to GDP Declines in Wealth

A signature component of structural transformation is the declining importance of agriculture as a share of a country’s GDP as GDP increases. This interactive visualization enables users to identify trends between GDP per capita and agriculture’s contribution to GDP. Users interested in a specific country can make their selection by clicking on the right. Hovering over any data point displays its actual x and y values. Portions of the plot can be zoomed in on or highlighted by respectively using the zoom and lasso functions.

Animation Example: Female Share of Total Labor Force

We can also use animations to visualize changes over time. In this figure, the female share of the total labor force is compared against GDP per capita. A standout feature of this data, from the World Bank’s World Development Indicators, is the noisiness of the labor data. From year to year, countries demonstrate sizable shifts in women’s workforce share, which are unlikely to be true features. This suggests interpreting this indicator with some caution and examining broad patterns rather than individual values for a single year. The size of each data point corresponds to the country’s population in the displayed year.