The process of redrawing legislative district boundaries, typically following each decennial census. Redistricting determines the partisan composition of congressional and state legislative districts and has profound effects on electoral competitiveness. Analytics play a central role in redistrictin