How to create scatter plot with one overall trend line and then individual trend lines for individual groupings

First I wanted to make the groupings different colors with 1 overall trend line, but the variable was numeric (thus making the colors continuous) so I changed it to a string (so that the colors would be discrete). As a result, I got a bunch of separate trend lines instead of an overall one.

Is it possible to make it so that there’s one overall trend line for the chart (still having the different colors for the grouping), and then have a corresponding trend line when clicking on an individual color/group?

Let me know If clarification or any other info is needed.

What I have now:

The data set: