The anomaly usually appears as a Feynman diagram with a chiral fermion running in the loop (a polygon) with n external gravitons attached to the loop where n = 1 + D / 2 where D is the spacetime dimension.