This animation is based on a section of the book, SPECIAL RELATIVITY ILLUSTRATED, by John de Pillis.
A vertical wire carries an alternating current which generates an electric field. The electric field, in turn, generates a magnetic field whose change generates an electric field.
This succession of induced fields ( electric to magnetic to electric to magnetic, etc. ) results in the generation of the electromagetic wave.