I am trying to create a scatter plot, I would like the plot points to have colors based on one of my database variables (continent). Below is the database and code so you can correct me. I also want that numbers do not appear in the labels but the name determined by the variable (country). The objective is to do the simulation and so far it works for me but when appending the two lines before the plot, it stops working.
Beforehand thank you very much. Cheers!