79621932

Date: 2025-05-14 16:47:08
Score: 0.5
Natty:
Report link

Something like this?

library(tidyverse)
tibble(cat = letters, val = (2 + sin(1:26))^2, 
       val_min = val * 0.95, val_max = val * 1.05) |>
  ggplot(aes(val, cat)) +
  geom_col(aes(x = Inf), fill = "gray90", width = 1,
           data = ~filter(., row_number() %% 2 == 0)) +
  geom_point() +
  geom_errorbarh(aes(xmin = val_min, xmax = val_max)) +
  scale_x_continuous(expand = expansion(mult = c(0, 0.05))) +
  theme_classic()

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Jon Spring