According to Gauss’ Theorem, electric field of an infinitely long straight wire is proportional to

(1) r

(2) $\frac{1}{{r}^{2}}$

(3) $\frac{1}{{r}^{3}}$

(4) $\frac{1}{r}$