The ranking considers several factors that can influence where people choose to live, including housing affordability, income growth, education, healthcare, safety and quality of life.