How to plot a scatter plot and line plot in one figure and setting a column as the color?

The line plot can be seen in earlier sent pictures, the scatter plot looks like this when plotted seperately: