This is a suite of graphs I made for researchers at the Center for Global Development analyzing the differences between formal and informal businesses. The data is from World Bank Enterprise Surveys and CGD’s analysis.

For the technically minded, the graphs are built on D3 v4 with animations triggered by this lightweight scroll monitor (triggered when a graph enters the viewport). The animated scrolling, when you select a button under contents or click back to the contents, is handled by a D3 tween function and JavaScript’s native scrollTo method.

The charts are featured in CGD’s publication, “A Note on the Informal Sector.”


Access to electricity


Access to water


Access to finance




Firm productivity


Owner characteristics


Benefits of registration


Registration requirements