A 10-year-old New York-based firm in the “destination branding” industry, Resonance sifted through an array of public data — including crime rates, air quality, housing affordability, entertainment offerings and economic vitality — to compile the rankings.