How to reverse color gradient when using geom_sf?

Oops never mind, that should be

ggplot(nc) +
  geom_sf(aes(fill = AREA)) +
  scale_fill_gradient(low = "#56B1F7", high = "#132B43")
1 Like