People purchasing a house for the first time benefit from active markets in Charleston and North Charleston, according to a new survey.

The two cities also showcase strength in “housing affordability.” But “living environment” dragged down the results for North Charleston and for Charleston, based on the findings of national online list maker Wallet Hub in its 2015’s Best and Worst Cities for First Time Home Buyers.

Charleston placed 89th overall in the U.S. It scored highest in the “real estate market” category at 57th best. The city also was among the leading 30 percent in housing affordability at 68th best, while ranking 257th in living environment.

At the same time, North Charleston placed 67th in real estate market, 124th in housing affordability and 299th in living environment.

To determine the most favorable housing markets for first-time buyers, WalletHub investigated the “real-estate landscape” in 300 cities. The company says it probed housing costs, real-estate tax rates, median home-price appreciation and property crime rates.

Overland Park, Kan., won out as top choice overall for first-time home buyers. By category, Houston ranked first in housing affordability; Cambridge, Mass., had the top real estate market; and Longmont, Colo., was number one in living environment for first-time home buyers.

For more information, visit www.wallethub.com.

Reach Jim Parker at 937-5542 or jparker@postandcourier.com.