What does the economic complexity index look like near GDP per capita and GINI?

This is a project to focus on how to develop African economies (with all its weakness and strenghs). The Economic Complexity Index is chosen as a tool to understand sub-Saharan countries. But the ECI is complex: it tries to assess how the economy of a country is developed and its potential to breach into other areas of economic activity.

The slopegraph has 3 steps; 1st, the GDP per capita; 2nd, the ECI; 3rd, GINI. The vertical position of the corners of each line was normalized to the axis height. When the user clicks on one of the slopes, a histogram for that specific country and its indexes for the last 24 years loads on the left side.

The visualization was rendered with D3. GitHub live link