This report builds upon the previous county-level analysis of median household income across Davidson County and its six neighboring counties in Middle Tennessee using data from the 2024 American Community Survey (ACS), provided by the U.S. Census Bureau.
While county-level estimates provide a broad understanding of regional income patterns, they can obscure differences between individual communities within each county. This analysis examines median household income at the Census county subdivision level to provide a more detailed understanding of local economic variation.
The report includes an interactive geographic map, an interactive dot plot displaying income estimates and margins of error, and a summary table of subdivision-level results.
The analysis was conducted using R and the script provided in the Practical R Skills, Part 2 lesson.
This report examines median household income across Davidson County and its six neighboring counties in Middle Tennessee using data from the 2024 American Community Survey (ACS), provided by the U.S. Census Bureau.
The analysis includes an interactive geographic map and dot plot illustrating differences in estimated median household income across the seven counties. The dot plot also displays margins of error associated with each estimate.
The analysis was conducted using R and the script provided in the Practical R Skills, Part 1 lesson.
The interactive map below displays estimated median household income across 123 Census county subdivisions within Davidson County and its six neighboring counties.
Darker shades of blue represent higher median household income, while lighter shades represent lower median household income. Thicker boundary lines identify individual counties, while thinner lines distinguish subdivisions within each county.
Click on an individual subdivision to view its estimated median household income and associated margin of error.
The interactive dot plot below compares estimated median household income across 123 Census county subdivisions within the seven Nashville-area counties.
Each dot represents a subdivision’s estimated median household income, while the horizontal error bars represent the associated margins of error. The subdivisions are ranked by estimated median household income.
Hover over each data point to explore individual subdivision estimates and their associated margins of error.
The following table provides estimated median household income and associated margins of error for all 123 Census county subdivisions across the seven Nashville-area counties. Results are ranked from highest to lowest estimated median household income.
| County Subdivision | Median Household Income | Margin of Error |
|---|---|---|
| District 6, Williamson County, Tennessee | $193,273 | ±$16,236 |
| District 7, Williamson County, Tennessee | $187,123 | ±$15,963 |
| District 34, Davidson County, Tennessee | $167,813 | ±$14,258 |
| District 5, Williamson County, Tennessee | $163,988 | ±$23,357 |
| District 9, Williamson County, Tennessee | $162,262 | ±$19,826 |
| District 2, Williamson County, Tennessee | $149,080 | ±$23,328 |
| District 5, Wilson County, Tennessee | $141,184 | ±$23,645 |
| District 4, Williamson County, Tennessee | $130,607 | ±$12,937 |
| District 25, Davidson County, Tennessee | $129,511 | ±$11,858 |
| District 10, Williamson County, Tennessee | $124,464 | ±$14,997 |
| District 35, Davidson County, Tennessee | $123,164 | ±$5,282 |
| District 8, Williamson County, Tennessee | $122,778 | ±$19,022 |
| District 10, Wilson County, Tennessee | $122,750 | ±$35,074 |
| District 16, Wilson County, Tennessee | $122,734 | ±$44,662 |
| District 23, Davidson County, Tennessee | $122,201 | ±$13,587 |
| District 12, Williamson County, Tennessee | $122,154 | ±$8,374 |
| District 4, Wilson County, Tennessee | $121,953 | ±$6,310 |
| District 3, Williamson County, Tennessee | $121,242 | ±$11,125 |
| District 2, Wilson County, Tennessee | $120,280 | ±$15,914 |
| District 14, Rutherford County, Tennessee | $119,879 | ±$15,609 |
| District 9, Sumner County, Tennessee | $118,627 | ±$10,899 |
| District 25, Wilson County, Tennessee | $118,575 | ±$17,512 |
| District 7, Sumner County, Tennessee | $118,463 | ±$8,557 |
| District 6, Robertson County, Tennessee | $117,328 | ±$14,420 |
| District 2, Rutherford County, Tennessee | $113,618 | ±$8,331 |
| District 24, Davidson County, Tennessee | $112,813 | ±$9,455 |
| District 8, Wilson County, Tennessee | $111,045 | ±$21,662 |
| District 9, Rutherford County, Tennessee | $110,625 | ±$6,729 |
| District 4, Davidson County, Tennessee | $109,862 | ±$8,710 |
| District 3, Wilson County, Tennessee | $107,175 | ±$44,846 |
| District 8, Rutherford County, Tennessee | $106,781 | ±$8,523 |
| District 18, Wilson County, Tennessee | $106,590 | ±$11,693 |
| District 11, Williamson County, Tennessee | $106,331 | ±$10,348 |
| District 14, Wilson County, Tennessee | $105,610 | ±$12,378 |
| District 20, Rutherford County, Tennessee | $105,019 | ±$9,853 |
| District 23, Wilson County, Tennessee | $103,665 | ±$13,285 |
| District 11, Wilson County, Tennessee | $102,989 | ±$24,010 |
| District 3, Rutherford County, Tennessee | $102,465 | ±$26,412 |
| District 3, Cheatham County, Tennessee | $102,431 | ±$17,772 |
| District 6, Sumner County, Tennessee | $101,854 | ±$8,805 |
| District 6, Davidson County, Tennessee | $100,752 | ±$12,611 |
| District 12, Wilson County, Tennessee | $100,646 | ±$16,719 |
| District 11, Sumner County, Tennessee | $100,338 | ±$7,125 |
| District 6, Rutherford County, Tennessee | $99,858 | ±$6,412 |
| District 10, Rutherford County, Tennessee | $99,400 | ±$12,412 |
| District 13, Wilson County, Tennessee | $99,327 | ±$8,166 |
| District 18, Davidson County, Tennessee | $98,456 | ±$16,437 |
| District 1, Williamson County, Tennessee | $98,165 | ±$11,764 |
| District 8, Robertson County, Tennessee | $98,009 | ±$12,978 |
| District 6, Cheatham County, Tennessee | $96,888 | ±$7,927 |
| District 4, Robertson County, Tennessee | $96,786 | ±$11,251 |
| District 3, Robertson County, Tennessee | $96,330 | ±$13,669 |
| District 5, Cheatham County, Tennessee | $95,888 | ±$12,062 |
| District 6, Wilson County, Tennessee | $95,784 | ±$16,887 |
| District 1, Wilson County, Tennessee | $93,707 | ±$21,783 |
| District 12, Sumner County, Tennessee | $93,286 | ±$3,620 |
| District 33, Davidson County, Tennessee | $91,426 | ±$9,273 |
| District 3, Sumner County, Tennessee | $91,352 | ±$9,049 |
| District 2, Cheatham County, Tennessee | $91,066 | ±$13,173 |
| District 1, Rutherford County, Tennessee | $90,670 | ±$16,549 |
| District 22, Davidson County, Tennessee | $90,448 | ±$8,706 |
| District 12, Davidson County, Tennessee | $90,183 | ±$11,477 |
| District 19, Rutherford County, Tennessee | $89,030 | ±$4,746 |
| District 15, Rutherford County, Tennessee | $87,321 | ±$12,357 |
| District 13, Rutherford County, Tennessee | $85,947 | ±$14,167 |
| District 1, Davidson County, Tennessee | $85,926 | ±$6,963 |
| District 1, Robertson County, Tennessee | $85,805 | ±$8,217 |
| District 7, Davidson County, Tennessee | $84,268 | ±$11,060 |
| District 22, Wilson County, Tennessee | $84,191 | ±$13,790 |
| District 8, Sumner County, Tennessee | $83,520 | ±$8,772 |
| District 11, Robertson County, Tennessee | $83,413 | ±$23,697 |
| District 5, Davidson County, Tennessee | $83,094 | ±$6,483 |
| District 5, Robertson County, Tennessee | $83,030 | ±$12,188 |
| District 7, Robertson County, Tennessee | $82,401 | ±$13,032 |
| District 15, Wilson County, Tennessee | $81,792 | ±$20,253 |
| District 4, Cheatham County, Tennessee | $81,389 | ±$10,957 |
| District 9, Wilson County, Tennessee | $80,000 | ±$26,506 |
| District 10, Robertson County, Tennessee | $78,977 | ±$12,903 |
| District 1, Sumner County, Tennessee | $78,900 | ±$7,341 |
| District 2, Robertson County, Tennessee | $78,862 | ±$12,141 |
| District 7, Rutherford County, Tennessee | $78,531 | ±$7,730 |
| District 26, Davidson County, Tennessee | $78,460 | ±$5,564 |
| District 19, Davidson County, Tennessee | $78,125 | ±$7,880 |
| District 31, Davidson County, Tennessee | $77,287 | ±$7,392 |
| District 19, Wilson County, Tennessee | $76,788 | ±$15,138 |
| District 4, Rutherford County, Tennessee | $76,541 | ±$10,884 |
| District 1, Cheatham County, Tennessee | $76,212 | ±$17,842 |
| District 10, Sumner County, Tennessee | $76,196 | ±$12,634 |
| District 11, Davidson County, Tennessee | $75,655 | ±$6,932 |
| District 2, Sumner County, Tennessee | $75,380 | ±$10,336 |
| District 4, Sumner County, Tennessee | $75,335 | ±$14,218 |
| District 20, Davidson County, Tennessee | $73,175 | ±$11,878 |
| District 17, Davidson County, Tennessee | $73,141 | ±$6,662 |
| District 15, Davidson County, Tennessee | $72,275 | ±$5,800 |
| District 24, Wilson County, Tennessee | $72,031 | ±$19,997 |
| District 12, Rutherford County, Tennessee | $71,907 | ±$10,010 |
| District 5, Rutherford County, Tennessee | $71,875 | ±$10,610 |
| District 16, Davidson County, Tennessee | $70,152 | ±$8,513 |
| District 29, Davidson County, Tennessee | $69,010 | ±$10,318 |
| District 18, Rutherford County, Tennessee | $68,258 | ±$5,976 |
| District 8, Davidson County, Tennessee | $68,184 | ±$12,467 |
| District 14, Davidson County, Tennessee | $67,390 | ±$5,605 |
| District 17, Wilson County, Tennessee | $67,079 | ±$12,356 |
| District 3, Davidson County, Tennessee | $66,981 | ±$9,922 |
| District 28, Davidson County, Tennessee | $66,823 | ±$7,833 |
| District 21, Rutherford County, Tennessee | $66,551 | ±$9,535 |
| District 27, Davidson County, Tennessee | $65,330 | ±$7,174 |
| District 32, Davidson County, Tennessee | $65,091 | ±$4,317 |
| District 11, Rutherford County, Tennessee | $63,170 | ±$10,499 |
| District 10, Davidson County, Tennessee | $63,090 | ±$4,419 |
| District 13, Davidson County, Tennessee | $62,289 | ±$6,700 |
| District 21, Wilson County, Tennessee | $62,271 | ±$11,609 |
| District 16, Rutherford County, Tennessee | $61,545 | ±$1,395 |
| District 7, Wilson County, Tennessee | $61,486 | ±$10,944 |
| District 9, Robertson County, Tennessee | $61,273 | ±$5,834 |
| District 5, Sumner County, Tennessee | $57,871 | ±$12,109 |
| District 2, Davidson County, Tennessee | $57,200 | ±$7,122 |
| District 30, Davidson County, Tennessee | $53,796 | ±$2,660 |
| District 21, Davidson County, Tennessee | $53,163 | ±$4,246 |
| District 9, Davidson County, Tennessee | $51,290 | ±$3,883 |
| District 12, Robertson County, Tennessee | $50,069 | ±$7,812 |
| District 20, Wilson County, Tennessee | $48,012 | ±$10,259 |
| District 17, Rutherford County, Tennessee | $45,955 | ±$7,601 |
The 2024 American Community Survey estimates reveal substantial variation in median household income among county subdivisions across the Nashville area.
The previous county-level analysis identified median household income estimates ranging from $77,853 to $135,594. However, examining the same geographic region at the subdivision level reveals a considerably wider range of income estimates.
The range between the highest and lowest estimates increased from $57,741 at the county level to $147,318 at the subdivision level. This demonstrates how county-level estimates can obscure economic differences among individual communities.
Access to more localized demographic information can be particularly valuable for marketing, audience research, strategic communication, business development, and community planning.
Rather than treating an entire county as a single audience or market, organizations can use subdivision-level data to develop a more detailed understanding of the communities they serve. However, margins of error should be considered when comparing individual areas, as smaller geographic areas may have less precise estimates.
U.S. Census Bureau. (2024). American Community Survey, 2024 five-year estimates. Variable DP03_0062: Median household income in the past 12 months.
The following R code was used to retrieve, organize, analyze, and visualize subdivision-level median household income data from the 2024 American Community Survey.
The code is adapted from the Practical R Skills, Part 2 lesson and builds upon the previous county-level analysis. The primary modification involves changing the geographic level from county to county subdivision. Additional formatting adjustments were made to improve the readability of the visualizations.
The Census API key is stored securely as an R environment variable and is not included in this published document.
############################################################
# STEP 1: Load Packages
############################################################
if (!require("tidycensus")) install.packages("tidycensus")
if (!require("tidyverse")) install.packages("tidyverse")
if (!require("kableExtra")) install.packages("kableExtra")
if (!require("sf")) install.packages("sf")
if (!require("leaflet")) install.packages("leaflet")
if (!require("htmlwidgets")) install.packages("htmlwidgets")
if (!require("plotly")) install.packages("plotly")
library(tidycensus)
library(tidyverse)
library(kableExtra)
library(sf)
library(leaflet)
library(htmlwidgets)
library(plotly)
############################################################
# STEP 2: Verify Census API Key
############################################################
if (!nzchar(Sys.getenv("CENSUS_API_KEY"))) {
stop("No Census API key was found.")
}
############################################################
# STEP 3: Configure Your Analysis
############################################################
acs_year <- 2024
state_abbrev <- "TN"
my_variable <- "DP03_0062"
geography_level <- "county subdivision"
selected_counties <- c(
"Davidson",
"Rutherford",
"Williamson",
"Cheatham",
"Robertson",
"Sumner",
"Wilson"
)
############################################################
# STEP 4: Explore ACS Codebooks
############################################################
ProfileTables <- load_variables(
acs_year,
"acs5/profile"
)
############################################################
# STEP 5: Download ACS Data
############################################################
if (is.null(selected_counties)) {
mydata <- get_acs(
geography = geography_level,
state = state_abbrev,
year = acs_year,
survey = "acs5",
variables = my_variable,
geometry = TRUE
)
} else {
mydata <- get_acs(
geography = geography_level,
state = state_abbrev,
county = selected_counties,
year = acs_year,
survey = "acs5",
variables = my_variable,
geometry = TRUE
)
}
############################################################
# STEP 6: Keep Needed Variables and Geometry
############################################################
mydata <- mydata |>
select(
Area = NAME,
Variable = variable,
Estimate = estimate,
Margin_of_Error = moe,
geometry
)
############################################################
# STEP 7: Transform Coordinates for Leaflet
############################################################
mydata <- st_transform(
mydata,
crs = 4326
)
############################################################
# STEP 8: Download County Boundaries
############################################################
if (is.null(selected_counties)) {
county_boundaries <- get_acs(
geography = "county",
state = state_abbrev,
year = acs_year,
survey = "acs5",
variables = my_variable,
geometry = TRUE
)
} else {
county_boundaries <- get_acs(
geography = "county",
state = state_abbrev,
county = selected_counties,
year = acs_year,
survey = "acs5",
variables = my_variable,
geometry = TRUE
)
}
county_boundaries <- st_transform(
county_boundaries,
4326
)
############################################################
# STEP 9: Sort Results from Highest to Lowest
############################################################
mydata <- mydata |>
arrange(desc(Estimate))
############################################################
# STEP 11: Create Pop-Up Content
############################################################
mydata$popup <- paste0(
"<strong>", mydata$Area, "</strong>",
"<br><br>",
"Estimate: $",
format(mydata$Estimate, big.mark = ","),
"<br>",
"Plus/Minus: $",
format(mydata$Margin_of_Error, big.mark = ",")
)
############################################################
# STEP 12: Build Color Palette
############################################################
qs <- unique(
quantile(
mydata$Estimate,
probs = seq(0, 1, length.out = 6),
na.rm = TRUE
)
)
pal <- colorBin(
palette = "Blues",
domain = mydata$Estimate,
bins = qs,
pretty = FALSE
)
############################################################
# STEP 13: Create Choropleth Map
############################################################
AreaMap <- leaflet(mydata) |>
addProviderTiles(
providers$Esri.WorldTopoMap
) |>
addPolygons(
fillColor = ~pal(Estimate),
fillOpacity = 0.5,
color = "black",
weight = 1,
popup = ~popup
)
if (geography_level != "county") {
AreaMap <- AreaMap |>
addPolygons(
data = county_boundaries,
fill = FALSE,
color = "black",
weight = 2,
opacity = 1,
group = "County Boundaries"
)
}
AreaMap <- AreaMap |>
addLegend(
pal = pal,
values = ~Estimate,
title = "Median Household Income",
labFormat = labelFormat(
prefix = "$",
big.mark = ","
)
)
AreaMap
############################################################
# STEP 14: Create Plotly Dot Plot
############################################################
plotdf <- mydata |>
st_drop_geometry() |>
mutate(
point_color = pal(Estimate),
y_ordered = reorder(
Area,
Estimate
),
hover_text = paste0(
Area,
"\nEstimate: $",
format(Estimate, big.mark = ","),
"\nPlus/Minus: $",
format(Margin_of_Error, big.mark = ",")
)
)
DotPlot <- plot_ly(
data = plotdf,
height = nrow(plotdf) * 25,
x = ~Estimate,
y = ~as.character(y_ordered),
type = "scatter",
mode = "markers",
showlegend = FALSE,
marker = list(
color = ~point_color,
size = 8,
line = list(
color = "rgba(120,120,120,0.9)",
width = 0.5
)
),
error_x = list(
type = "data",
array = ~Margin_of_Error,
arrayminus = ~Margin_of_Error,
color = "rgba(0,0,0,0.65)",
thickness = 1
),
text = ~hover_text,
hovertemplate = "%{text}<extra></extra>"
) |>
layout(
title = list(
text = paste0(
"Median Household Income by County Subdivision",
"<br><sup>Error bars show ACS margins of error.</sup>"
)
),
xaxis = list(
title = "Median Household Income",
tickformat = "$,.0f",
automargin = TRUE
),
yaxis = list(
title = "",
automargin = TRUE,
categoryorder = "array",
categoryarray = levels(plotdf$y_ordered)
),
margin = list(
l = 350,
r = 20,
b = 60,
t = 60,
pad = 2
)
)
DotPlot
############################################################
# STEP 10: Display Results as a Table
############################################################
ResultsTable <- mydata |>
st_drop_geometry() |>
select(
Area,
Estimate,
Margin_of_Error
) |>
mutate(
Estimate = scales::dollar(Estimate, accuracy = 1),
Margin_of_Error = paste0(
"±",
scales::dollar(Margin_of_Error, accuracy = 1)
)
) |>
kbl(
col.names = c(
"County Subdivision",
"Median Household Income",
"Margin of Error"
),
align = c("l", "r", "r"),
caption = "2024 ACS Five-Year Median Household Income Estimates by County Subdivision"
) |>
kable_styling(
bootstrap_options = c("striped", "hover", "condensed"),
full_width = FALSE,
position = "center"
)
ResultsTable