I currently have this plot
with this data
# A tibble: 2 × 7
`Country Name` `Country Code` Year `CrecimientoPBI (%)` `Inflación (%)` `Desempleo (%)` Code
<chr> <chr> <chr> <dbl> <dbl> <dbl> <chr>
1 Estados Unidos USA 1961 2.3 1.07 6.7 us
2 Estados Unidos USA 2020 -3.49 1.23 8.05 us
I want to color the line that unites the two points in a gradient form, going from the gold color of 1961 to the dark green of 2020. Is there a way to do that? Thanks in advance!

