Need help with making scatterplots based on two variables in relation to another column

It would be tough to know your exact problem without an example, but you can usually specify grouping variables in the aes argument with color = or fill =. There are some examples here

Some advice for making a reproducible example: here