A geometric phase transition underlying jamming in 3d, and beyond