 According to the United States Census Bureau, the city has a total area of , all land.Danville is located approximately four miles northeast of Geode State Park.As of the census of 2010, there were 934 people, 362 households, and 262 families living in the city.