And then you go further upscale and the sidewalks disappear again.

For example Silicon Valley suburb Saratoga has hardly any sidewalks. Median house price is around $4M.

Safe place to run though.

Those are old areas developed before codes requiring sidewalks that happen to be in a good location where rich people decided to congregate back in the day.