× Thanks for reading! Log in to continue. Enjoy more articles by logging in or creating a free account. No credit card required. Log in Sign up {{featured_button_text}}

A data analysis has put Wisconsin as the sixth-best state for teachers.

The analysis by personal finance website WalletHub scored states and the District of Columbia based on 18 factors, including salary, job openings and school safety.

Wisconsin ranked no higher than seventh in any category, but it scored among the top 15 in five areas: average number of hours worked, best school system, wage disparity, commute time and median annual salary.

States that had higher rankings than Wisconsin in some individual categories were brought down in the weighted overall score for low performance in other areas, said WalletHub spokesperson Jill Gonzalez.

She stressed it was an objective look at the landscape for educators.

"It's not like we took a survey and asked teachers what they think," Gonzalez said. "This is just the raw data."

Wyoming ranked as the best state for teachers, followed by Pennsylvania, Minnesota, Massachusetts and Virginia.

North Carolina was at the bottom of the list, trailing Mississippi and West Virginia.