Correl

Find the
correlation.

Correl maps neighborhood data by ZIP code for 16 US cities and shows how any two measures move together.

Pick a city

Chicago, 142 ZIP codes. Block height: college educated.

A second measure

Now ink the tops.

Each ZIP code keeps its first measure and takes a wash of coral for a second one, darker where the value is higher. The ZIP codes highest on the first take most of the ink.

Height: College educated, 3.3% to 94.5%Ink: Work from home %, 0% to 38%

The same blocks, as a plot

Take the map away.

Each ZIP code leaves its place and lands where its two values put it: college educated across, work from home % up. The closer the pucks keep to one line, the stronger the correlation.

r = +0.89

Pearson r across 142 ZIP codes. A perfect rising line scores one, a perfect falling line minus one, and no straight-line link zero.

Married % against No vehicle %

Then check a third measure.

r = −0.66, then −0.04 with homeownership rate held fixed

ZIP codes with more homeowners have more married residents (r = +0.81) and fewer car-free households (r = −0.79). Hold homeownership fixed and the link between marriage and car-free households is close to zero.

These are ZIP codes, not people.

The same 142 ZIP codes, 4 more measures

Median income

$14,044 to $250,000+. More ink, higher value.ACS 5-year 2022, table B19013

Pick a city.

16 cities, the same map and the same calculator. Chicago is the one you just scrolled through.

Every figure above is computed from 142 Chicago ZIP codes. A correlation between ZIP codes says nothing about cause, and nothing about any one resident.

  • College educatedACS 5-year 2022, table B15003
  • Work from home %ACS 5-year 2022, table B08006
  • Married %ACS 5-year 2022, table B12001
  • No vehicle %ACS 5-year 2022, table B08201
  • Homeownership rateACS 5-year 2022, table B25003
  • Median incomeACS 5-year 2022, table B19013
  • Obesity rateCDC PLACES 2023 release, model-based estimate
  • Transit scoreOpenStreetMap, bus stops plus 3 x train stations per ZIP
  • Foreign born %ACS 5-year 2022, table B05002