Label only extreme legends in a map

Hi there!

I am trying to plot a coefficient number for each state of Argentina and I want to label the extreme higher values as "Similar Income" and label the lowest as "Different Income".
I have something like this

ggplot(arg_sf) +
  geom_sf(col = NA, aes(fill=(VALORES))) +
  scale_fill_gradient(low = "green", high = "green4")

image

So far this is my result and it is exactly what i want, but i would like to remove the legends and add two in the extremes, with the text i mentioned before: green4="Similar Income" and green="Different Income"

Do you have any hint about how to solve it?

Thank you,

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.