 Many of the characters in it were based on people Willson knew from his childhood in Mason City.According to the United States Census Bureau, the city has a total area of , of which is land and is water.As of the census of 2010, there were 28,079 people, 12,366 households, and 7,210 families living in the city.