---
title: "San Diego taco ratings barely separate the best from the rest"
subtitle: "Scores cluster tightly around the average (4.49), with most restaurants within ±0.2 points. Just 19 of 50 spots reach 4.6 or higher."
description: "A lollipop chart redesigning the original Makeover Monday Week 18 dashboard, which visualized Eater San Diego's top 50 taco spots. Rather than displaying raw scores, this makeover reframes performance relative to the field mean (4.49), revealing how tightly ratings cluster across all 50 restaurants. Three tiers — Elite, Competitive, and Trailing — are encoded through color, with selective annotation highlighting both top performers and the narrow spread among the lowest-rated spots. Built with R and ggplot2."
date: "2026-05-04"
author:
- name: "Steven Ponce"
url: "https://stevenponce.netlify.app"
citation:
url: "https://stevenponce.netlify.app/data_visualizations/MakeoverMonday/2026/mm_2026_18.html"
categories: ["MakeoverMonday", "2026"]
tags: [
"makeover-monday",
"data-visualization",
"ggplot2",
"lollipop-chart",
"ranking",
"restaurants",
"food",
"san-diego",
"relative-performance",
"annotation",
"2026"
]
image: "thumbnails/mm_2026_18.png"
format:
html:
toc: true
toc-depth: 5
code-link: true
code-fold: true
code-tools: true
code-summary: "Show code"
theme:
light: [flatly, assets/styling/custom_styles.scss]
dark: [darkly, assets/styling/custom_styles_dark.scss]
editor_options:
chunk_output_type: inline
execute:
freeze: true
cache: true
error: false
message: false
warning: false
eval: true
editor:
markdown:
wrap: 72
---
```{r}
#| label: setup-links
#| include: false
# CENTRALIZED LINK MANAGEMENT
## Project-specific info
current_year <- 2026
current_week <- 18
project_file <- "mm_2026_18.qmd"
project_image <- "mm_2026_18.png"
## Data Sources
data_main <- "https://data.world/makeovermonday/2026w18-best-tacos-in-san-diego/"
data_secondary <- "https://data.world/makeovermonday/2026w18-best-tacos-in-san-diego/"
## Repository Links
repo_main <- "https://github.com/poncest/personal-website/"
repo_file <- paste0("https://github.com/poncest/personal-website/blob/master/data_visualizations/MakeoverMonday/", current_year, "/", project_file)
## External Resources/Images
chart_original <- "https://raw.githubusercontent.com/poncest/MakeoverMonday/refs/heads/master/2026/Week_18/original_chart.png"
## Organization/Platform Links
org_primary <- "https://sandiego.eater.com/maps/san-diego-best-local-tacos"
org_secondary <- "https://sandiego.eater.com/maps/san-diego-best-local-tacos"
# Helper function to create markdown links
create_link <- function(text, url) {
paste0("[", text, "](", url, ")")
}
# Helper function for citation-style links
create_citation_link <- function(text, url, title = NULL) {
if (is.null(title)) {
paste0("[", text, "](", url, ")")
} else {
paste0("[", text, "](", url, ' "', title, '")')
}
}
```
### Original
The original visualization comes from `r create_link("Eater San Diego", data_secondary)`

### Makeover
{#fig-1}
### [**Steps to Create this Graphic**]{.mark}
#### [1. Load Packages & Setup]{.smallcaps}
```{r}
#| label: load
#| warning: false
#| message: false
#| results: "hide"
## 1. LOAD PACKAGES & SETUP ----
suppressPackageStartupMessages({
if (!require("pacman")) install.packages("pacman")
pacman::p_load(
tidyverse, ggtext, showtext, scales,
glue, janitor, patchwork, ggrepel
)
})
### |- figure size ----
camcorder::gg_record(
dir = here::here("temp_plots"),
device = "png",
width = 10,
height = 12,
units = "in",
dpi = 320
)
# Source utility functions
suppressMessages(source(here::here("R/utils/fonts.R")))
source(here::here("R/utils/social_icons.R"))
source(here::here("R/utils/image_utils.R"))
source(here::here("R/themes/base_theme.R"))
```
#### [2. Read in the Data]{.smallcaps}
```{r}
#| label: read
#| include: true
#| eval: true
#| warning: false
#|
df_raw <- readxl::read_excel(
here::here("data/MakeoverMonday/2026/top_tacos_in_san_diego_tc26.xlsx")) |>
clean_names()
```
#### [3. Examine the Data]{.smallcaps}
```{r}
#| label: examine
#| include: true
#| eval: true
#| results: 'hide'
#| warning: false
glimpse(df_raw)
skimr::skim_without_charts(df_raw)
```
#### [4. Tidy Data]{.smallcaps}
```{r}
#| label: tidy
#| warning: false
field_mean <- mean(df_raw$score)
# Score band boundaries (from data distribution)
elite_cut <- 4.6 # ~75th percentile
trailing_cut <- 4.4 # ~25th percentile
df <- df_raw |>
mutate(
score_vs_mean = score - field_mean,
tier = case_when(
score >= elite_cut ~ "elite",
score >= trailing_cut ~ "competitive",
TRUE ~ "trailing"
),
tier = factor(tier, levels = c("elite", "competitive", "trailing")),
rank = rank(-score, ties.method = "first"),
# Label: top 5 + 2 notable below-mean spots for contrast
label = case_when(
rank <= 5 ~ restaurant_name,
restaurant_name == "Cafe Coyote" ~ restaurant_name, # lowest rated
restaurant_name == "El Chingon" ~ restaurant_name, # 2nd lowest
TRUE ~ NA_character_
)
) |>
arrange(score_vs_mean)
# Tier n counts for zone annotations
n_elite <- sum(df$tier == "elite")
n_competitive <- sum(df$tier == "competitive")
n_trailing <- sum(df$tier == "trailing")
# X axis bounds
x_min <- floor(min(df$score_vs_mean) * 10) / 10 - 0.02
x_max <- max(df$score_vs_mean) + 0.06
```
#### [5. Visualization Parameters]{.smallcaps}
```{r}
#| label: params
#| include: true
#| warning: false
### |- plot aesthetics ----
colors <- get_theme_colors(
palette = list(
elite = "#8B2331",
competitive = "#4A7BA7",
trailing = "#BBBBBB",
mean_line = "#444444",
band_elite = "#FDF5F5",
band_trail = "#F8F8F8",
zone_text = "#888888"
)
)
### |- titles and caption ----
title_text <- "San Diego taco ratings barely separate the best from the rest"
subtitle_text <- glue(
"Scores cluster tightly around the average ({round(field_mean, 2)}), ",
"with most restaurants within ±0.2 points. ",
"Just **<span style='color:{colors$palette$elite}'>{n_elite} of 50 spots</span>** ",
"reach 4.6 or higher."
)
caption_text <- create_mm_caption(
mm_year = 2026,
mm_week = 18,
source_text = "Eater San Diego | data.world/makeovermonday"
)
### |- fonts ----
setup_fonts()
fonts <- get_font_families()
### |- plot theme ----
base_theme <- create_base_theme(colors)
weekly_theme <- extend_weekly_theme(
base_theme,
theme(
axis.title.x = element_text(
size = 8.5, color = "gray45",
margin = margin(t = 8), family = fonts$text
),
axis.title.y = element_blank(),
axis.text.x = element_text(size = 7.5, color = "gray50"),
axis.text.y = element_text(size = 7, color = "gray35", hjust = 1),
axis.ticks = element_blank(),
panel.grid.major.x = element_line(color = "gray93", linewidth = 0.3),
panel.grid.major.y = element_blank(),
panel.grid.minor = element_blank(),
plot.margin = margin(t = 20, r = 35, b = 20, l = 10)
)
)
theme_set(weekly_theme)
```
#### [6. Plot]{.smallcaps}
```{r}
#| label: plot
#| warning: false
### |- zone thresholds on relative scale ----
elite_rel <- elite_cut - field_mean
trailing_rel <- trailing_cut - field_mean
### |- Main plot ----
p <- df |>
ggplot(aes(x = score_vs_mean, y = reorder(restaurant_name, score_vs_mean))) +
# Rect
annotate("rect",
xmin = elite_rel, xmax = x_max,
ymin = -Inf, ymax = Inf,
fill = colors$palette$band_elite, alpha = 0.07
) +
annotate("rect",
xmin = x_min, xmax = trailing_rel,
ymin = -Inf, ymax = Inf,
fill = colors$palette$band_trail, alpha = 0.07
) +
# Geoms
geom_vline(
xintercept = 0,
color = colors$palette$mean_line,
linewidth = 0.55,
linetype = "dashed"
) +
geom_segment(
aes(
x = 0, xend = score_vs_mean,
y = reorder(restaurant_name, score_vs_mean),
yend = reorder(restaurant_name, score_vs_mean),
color = tier
),
linewidth = 0.5,
alpha = 0.55
) +
geom_point(
aes(color = tier, size = tier),
alpha = 0.88
) +
geom_text_repel(
aes(label = label),
size = 2.55,
color = "gray20",
family = fonts$text,
hjust = 0,
direction = "y",
nudge_x = 0.01,
segment.color = "gray75",
segment.size = 0.25,
max.overlaps = 15,
na.rm = TRUE
) +
# Annotate
annotate("text",
x = 0.13,
y = 40.5,
label = glue("Elite\n≥{elite_cut} · n = {n_elite}"),
hjust = 0,
size = 2.5,
color = colors$palette$elite,
family = fonts$text,
fontface = "bold",
lineheight = 1.25
) +
annotate("text",
x = 0.03,
y = n_trailing + (n_competitive * 0.5),
label = glue("Competitive\n{trailing_cut}–{elite_cut - 0.01} · n = {n_competitive}"),
hjust = 0,
size = 2.5,
color = colors$palette$zone_text,
family = fonts$text,
fontface = "bold",
lineheight = 1.25
) +
annotate("text",
x = -0.41,
y = 9.5,
label = glue("Trailing\n<{trailing_cut} · n = {n_trailing}"),
hjust = 0,
vjust = 0,
size = 2.5,
color = colors$palette$zone_text,
family = fonts$text,
fontface = "bold",
lineheight = 1.25
) +
annotate("text",
x = 0.06,
y = 27,
label = "Most ratings fall\nwithin a 0.2-point band",
hjust = 0,
size = 2.6,
color = "gray50",
family = fonts$text,
fontface = "italic",
lineheight = 1.3
) +
annotate("text",
x = -0.41,
y = 7.8,
label = "Even the lowest-rated spots\nare within ~0.4 points of average",
hjust = 0,
vjust = 0,
size = 2.3,
color = "gray60",
family = fonts$text,
fontface = "italic",
lineheight = 1.3
) +
annotate("text",
x = -0.05,
y = 49.2,
label = glue("Average\n({round(field_mean, 2)})"),
hjust = 0,
size = 2.2,
color = colors$palette$mean_line,
family = fonts$text,
lineheight = 1.2
) +
# Scales
scale_color_manual(
values = c(
"elite" = colors$palette$elite,
"competitive" = colors$palette$competitive,
"trailing"= colors$palette$trailing
),
guide = "none"
) +
scale_size_manual(
values = c(
"elite" = 2.8,
"competitive" = 2.2,
"trailing"= 1.9
),
guide = "none"
) +
scale_x_continuous(
labels = function(x) sprintf("%+.2f", x),
breaks = seq(-0.4, 0.4, by = 0.1),
expand = expansion(mult = c(0.02, 0.12))
) +
# Labs
labs(
title = title_text,
subtitle = subtitle_text,
caption = caption_text,
x = glue("Difference from average ({round(field_mean, 2)})")
) +
# Theme
theme(
plot.title = element_text(
size = 26, face = "bold", color = "gray10",
family = fonts$title, margin = margin(b = 6)
),
plot.subtitle = element_markdown(
size = 11, color = "gray35", family = fonts$subtitle,
lineheight = 1.4, margin = margin(b = 18)
),
plot.caption = element_markdown(
size = 9, color = "gray55", family = fonts$captio,
hjust = 0, margin = margin(t = 15)
)
)
```
#### [7. Save]{.smallcaps}
```{r}
#| label: save
#| warning: false
### |- plot image ----
save_plot(
plot = p,
type = "makeovermonday",
year = current_year,
week = current_week,
width = 10,
height = 12
)
```
#### [8. Session Info]{.smallcaps}
::: {.callout-tip collapse="true"}
##### Expand for Session Info
```{r, echo = FALSE}
#| eval: true
#| warning: false
sessionInfo()
```
:::
#### [9. GitHub Repository]{.smallcaps}
::: {.callout-tip collapse="true"}
##### Expand for GitHub Repo
The complete code for this analysis is available in `r create_link(project_file, repo_file)`.
For the full repository, `r create_link("click here", repo_main)`.
:::
#### [10. References]{.smallcaps}
::: {.callout-tip collapse="true"}
##### Expand for References
**Primary Data (Makeover Monday):**
1. Makeover Monday `r current_year` Week `r current_week`: `r create_link("Best Tacos in San Diego", data_main)`
2. Original Chart: `r create_link("Eater San Diego — The Best Local Tacos", "https://sandiego.eater.com/maps/san-diego-best-local-tacos")`
- Source: Eater San Diego curated list with AI-assisted data compilation via Google Gemini
- Coverage: 50 taco restaurants across the San Diego area, scored on a 4.1–4.8 scale
**Source Data:**
3. `r create_link("Eater San Diego — Best Local Tacos", "https://sandiego.eater.com/maps/san-diego-best-local-tacos")`
- Coverage: 50 restaurants with review scores, geographic coordinates (latitude/longitude), and editorial review snippets
- Unit: Composite review score (4.1–4.8); three performance tiers defined as Elite (≥ 4.6), Competitive (4.4–4.59), and Trailing (< 4.4)
4. `r create_link("Google Gemini — Data Compilation", "https://gemini.google.com/share/672e1babcb27")`
- AI-assisted structuring of restaurant data from the Eater San Diego source list
**Note:** Analysis reframes raw scores relative to the field mean (4.49),
revealing the narrow spread across all 50 restaurants. Tier classifications
are based on score distribution quartiles (25th and 75th percentile thresholds).
No geographic or population-based normalization was applied.
:::
#### [11. Custom Functions Documentation]{.smallcaps}
::: {.callout-note collapse="true"}
##### 📦 Custom Helper Functions
This analysis uses custom functions from my personal module library for efficiency and consistency across projects.
**Functions Used:**
- **`fonts.R`**: `setup_fonts()`, `get_font_families()` - Font management with showtext
- **`social_icons.R`**: `create_social_caption()` - Generates formatted social media captions
- **`image_utils.R`**: `save_plot()` - Consistent plot saving with naming conventions
- **`base_theme.R`**: `create_base_theme()`, `extend_weekly_theme()`, `get_theme_colors()` - Custom ggplot2 themes
**Why custom functions?**\
These utilities standardize theming, fonts, and output across all my data visualizations. The core analysis (data tidying and visualization logic) uses only standard tidyverse packages.
**Source Code:**\
View all custom functions → [GitHub: R/utils](https://github.com/poncest/personal-website/tree/master/R)
:::