The Human Development Index (HDI) is used to rank countries into tiers of human development. It is based on indices relating to life expectancy, educational attainment and income.