Ta-Nehisi Coates covered it in both depth and breadth in this article: https://www.theatlantic.com/magazine/archive/2014/06/the-cas....
Class divisions due to race were cemented by slavery, jim crow, redlining, and the criminal justice system. Nimbyism parallels redlining in certain ways now that I think about it.