Like many other places, San Francisco is shaped by a history of redlining!

This entry needs lots of work, but in the meantime see this article: A History of Redlining in San Francisco.