the human development index (hdi) is a number from 0 to 1 (higher is better) used to compare different countries. it is published by united nations development programme. it is used to rank countries into different groups for example developed and developing countries.