All 3,272 United States counties and county-equivalents from Wikidata, keyed on the five-digit FIPS code: state, county seat, population, area in square kilometres and square miles, population density, year established, what the county is named after, and coordinates. The set is the roughly 3,140 counties plus Louisiana parishes, Alaska boroughs and census areas, Virginia independent cities and Puerto Rico municipios, with metropolitan and micropolitan statistical areas excluded so population ranks by county. Texas leads with 254 counties and Georgia follows with 159. Los Angeles County is the most populous at over ten million. Area is normalized from Wikidata's per-statement units to square kilometres and derived to square miles. A clean lookup table for FIPS county codes, county populations and county seats, free as a CSV download. Nine acceptance tests, one enforcing the 25 percent fill rule on every column.
3,272 rows in one CSV file, with 15 columns in total: County, County_ID, FIPS, State, State_Abbr, County_Seat, Population, Area_km2, Area_sqmi, Population_Density_sqmi, Established_Year, Named_After, Latitude, Longitude, County_URL.
It is built by programmatically scraping en.wikipedia.org, last pulled on 2026-10-23. Datasets are versioned; older versions stay downloadable.
Yes. Every CodeSights dataset is completely free as a CSV download; a free account is all it takes. Anyone can preview the data without signing in.
Yes. The exact Python scraper that built it is viewable on the dataset page by any signed-in member, so every number is reproducible.
Automated scraping leaves room for error and the underlying sources change over time, so no version is guaranteed accurate or complete. If a number matters, verify it against the original source.