Honestly, overall comp for both SWE and DS especially has been inflated by the FAANG. Deep down we all know $400-600K overall comp is not sustainable, for the same amount of work that people did just a decade ago for $150-250K range.
If that were true, everyone's compensation would've doubled or so in the last decade, but that phenomenon is mostly restricted to big/SV tech.