If you win the stock lottery, or stay in the industry for a while and become one of the top 10% of earners, you can do upwards of $200k. But that excludes the bottom 90% of jobs, which is what most people actually have.
As a PSA to all junior engineers: if you actually believe you can "easily" earn over $200k in the bay area, I strongly encourage you to take some phone screens before acting on your notions. Tell companies your salary expectations in advance.
https://www.foreignlaborcert.doleta.gov/performancedata.cfm
The folks making closest to 200k or higher are largely Computer and Information Systems Managers in Santa Clara county at levels 3 and 4. I imagine these are Senior Directors or VPs.
http://www.flcdatacenter.com/OesQuickResults.aspx?code=11-30...
https://www.reddit.com/r/cscareerquestions/search?q=salary+s...
H1B data doesn't include stock or bonuses.
For high paying jobs, salary is 50-80% of total comp. For lower paying ones, it's 95+%, which is what the salary surveys show.
So comparing salary only, you strongly bias against top paying positions since salaries make up a smaller portion of the compensation for those positions.