That's basically what collegescorecard.ed.gov is. I suspect that the reason you didn't know about it is this sort of "tell people spinach is good for them" style intervention has limited efficacy.
I tried playing around with it and I didn't find the information that OP was posting. The closest I could find was the median salary per graduating degree / median amount of debt per degree