Formation and polarization of dipolar chains