Geometry of diagonal-effect for contingency tables