Should be pretty easy to find aggregate stats on both.
Law follows a bimodal distribution, though, so you'd need to factor that into account. Basically, there are two types of law degrees, and two types of lawyers: those from top-N schools, and everyone else. Those who land prestigious clerkships, and go on to practice things like securities or corporate M&A at top BigLaw firms, and those who don't.
When we speak of a "JD," we can't really speak of it as a homogeneous class. You could argue that this effect could be found with any degree, for instance, that a CS degree from Stanford leads to much better outcomes than a CS degree from a mid-tier university. But the effects of school, class rank, career track, and prestige in the legal profession are near-total, and the divide in outcomes is quite dramatic.
Law follows a bimodal distribution, though, so you'd need to factor that into account. Basically, there are two types of law degrees, and two types of lawyers: those from top-N schools, and everyone else. Those who land prestigious clerkships, and go on to practice things like securities or corporate M&A at top BigLaw firms, and those who don't.
When we speak of a "JD," we can't really speak of it as a homogeneous class. You could argue that this effect could be found with any degree, for instance, that a CS degree from Stanford leads to much better outcomes than a CS degree from a mid-tier university. But the effects of school, class rank, career track, and prestige in the legal profession are near-total, and the divide in outcomes is quite dramatic.