In a wire that carries a current, a magnetic field is formed around the wire. The field lines of the magnetic field run around the wire, as shown:
This means that the magnetic field lines are located in a plane that is perpendicular to the wire. The right option is D.