Heterodimensional superlattice with in-plane anomalous Hall effect