placestats

Rural-urban code and Friending clustering

Key points

Across 3,076 counties, rural-urban code and friending clustering have a link of +0.59, on a scale from −1 (opposite) to +1 (in step). But compare places with the same population density, income and education, and a weak link of +0.29 remains. Most of the first figure came from both measures following how urban, rich and educated a place is, not from a link with each other.

Mostly gone after adjusting

Before and after adjusting

Before adjusting +0.59
Comparing places alike in density, income and education +0.29
Inside single states (middle value) +0.67
Each dot is the link on a scale from −1 to +1. The closer a dot sits to the middle line, the weaker the link.

Every place, plotted

One dot for each place reporting both measures. Hover over or tap a dot to see its name and values. The thin line is the straight line that best fits the dots. The bold line, shown for counties, is the link after adjusting for density, income and education. A dot far from the lines is a place that does not follow the pattern.

Loading every place…

Step by step

Counties split into five equal groups by rural-urban code, lowest first, with the middle value of friending clustering in each. It shows whether the link climbs steadily or jumps at one point. Nothing is adjusted here.

Rural-urban codeMiddle friending clusteringCounties
1 to 20.0981618
2 to 40.105618
4 to 70.115618
7 to 80.124618
8 to 90.128619

What each measure is

Rural-urban code

How rural a county is, in the USDA's nine groups from 2023. 1 to 3 are counties in metro areas, from the largest (a million people or more) down. 4 to 9 are outside metro areas, from those with a town of 20,000 next to a metro area (4) to those with no town of 5,000 and no metro area next door (9). The steps are not equal in size.

USDA Economic Research Service, Rural-Urban Continuum Codes · USDA ERS 2023 Rural-Urban Continuum Codes, RUCC_2023

Friending clustering

How often a person's friends are also friends with each other. It shows how tight-knit the local network is, which is separate from how far it reaches across income groups.

Social Capital Atlas · Opportunity Insights clustering_county

Highest and lowest

Where each measure is highest and lowest among the places reporting both (2023), with the other measure beside it. This is shown for every size of place where both are published. Metro-area values are added up from their counties. A measure that cannot be added up across counties, such as a middle value (median), has no metro figure. Counts are shown per 1,000 residents, since raw totals would only list the largest places. Cities and towns and ZIP codes are shown where the Census survey or the CDC publishes them; most other sources stop at the county. They are shown for places of 5,000 residents or more, and only where the survey’s margin of error is small enough for the figure to be usable. The CDC publishes its health estimates for cities in a version adjusted for age, so places with older or younger people can be compared fairly, but not for ZIP codes.

Counties

By rural-urban code

By friending clustering

Metro areas — Rural-urban code is not published for metro areas

By friending clustering

Rural-urban codeFriending clustering
Highest
Zapata, TX—0.182
Natchez, MS-LA—0.176
Greenwood, MS—0.166
Cleveland, MS—0.165
Clarksdale, MS—0.163
Lowest
Las Vegas-Henderson-North Las Vegas, NV—0.0763
Provo-Orem-Lehi, UT—0.077
El Paso, TX—0.0772
Colorado Springs, CO—0.0784
Orlando-Kissimmee-Sanford, FL—0.0786

Counties furthest from the pattern

Compared with the straight line that best fits all 3,091 counties: the five with far more friending clustering than their rural-urban code would suggest, and the five with far less.

Rural-urban codeFriending clustering
Above the line
Kusilvak Census Area, AK90.261
Nome Census Area, AK90.235
Bethel Census Area, AK70.221
Northwest Arctic Borough, AK90.228
Calhoun County, IL10.195
Below the line
San Juan County, CO90.0825
Ouray County, CO90.0832
Denali Borough, AK90.0864
Apache County, AZ80.0859
Valley County, ID90.0921

Two series, one county

Both measures over time for a county you pick. The two charts are stacked, so they share only the years along the bottom. You can pick from the thirty largest counties reporting both. This panel covers 2010–2024, and a measure published only once shows as a single dot.

Loading…

Every version of the link

Each row measures the same link, from −1 to +1, in a different way. If the rows mostly agree, the link does not depend on one choice of method.

Before adjusting for anything+0.5873,076 counties reporting both
After adjusting for density, income and education+0.287the part of the link that is not just how urban, rich and educated a place is
Also adjusting for population size+0.218size taken out as well as density
Also comparing only within each state+0.265each county is compared only with others in its own state, so this is no longer a comparison between states
Also holding winter sunshine equal+0.267compares counties that get the same sunlight in winter as well. If this is much weaker, part of the link is a difference between sunny and grey regions (more)
Also allowing for race and age+0.351compares counties with the same shares of Black, Hispanic, Asian and Native American residents, and of people 65 and over. If this is much weaker, much of the link is who lives in these places
Also allowing for broad regional patterns+0.265holds equal a smooth map of where each county is, across the lower 48 states. If this is much weaker, much of the link is a gradient across the country, such as north to south
Giving bigger counties more weight+0.494the adjusted link for the average resident rather than the average county. With this weighting, the data counts for about 286 equally weighted counties
Middle value inside single states+0.667the link worked out inside each of 40 states with at least 20 counties reporting
Using ranks, after adjusting+0.300uses each county’s rank, not its value, so a few extreme counties cannot create the link

How much to believe it

Could it be chance?

The p-value is the chance of seeing a link this strong if there were really none. A value of 0.05 or less means the link is unlikely to be chance. Very small values are written in short form: 3.1e-16 means 0.00000000000000031, and the bigger the number after “e-”, the smaller the value. Treating every county as a separate case gives p = 1.6e-59. But counties in the same state tend to resemble each other, so the better figure allows for that: p = 3.1e-11. The site tested 36,585 pairs, and testing so many turns up some flukes. The q-value allows for that too. For this pair it is 1.2e-58.

Do nearby places look alike?

Moran’s I measures how much nearby places look alike: 0 means no map pattern, and higher means neighbours are more similar. For the part of each county that the adjustment leaves unexplained, it is +0.44 (p = 0.001). That unexplained part still clusters on the map. So some regional factor shared by both measures is not accounted for.

Did they change together?

Not measurable: at least one of these is published for too few of the years a change needs (2014–2019 or 2019–2023), or for too few counties in both.

Related pairs

Share or cite this

Put this chart on your site

Paste this code into a web page to show the chart, with a credit and a link back here. See what it looks like.

Cite this page

PlaceStats. (2026). Rural-urban code vs Friending clustering by US County. Data: USDA Economic Research Service, Rural-Urban Continuum Codes; Social Capital Atlas. https://placestats.org/us/pair/friending-clustering-vs-rural-urban-code/ (accessed 2 December 2026).

Association only. Nothing here shows that either measure changes the other. This describes counties, not the people in them. Two measures going together across places does not mean the same people have both. How the US county data works · Explore Rural-urban code and Friending clustering