Similarities:
Both electrostatic field and magnetic field:
Follows the principle of superposition.
Depends inversely on the square of distance from source to the point of interset.
Differences:
(i) Electrostatic field is produced by a scalar source (q) and the magnetic field is produced by a vector (I→dI)
(ii) Electrostatic field is along the displacement vector between source and point of interset; whle magnetic field is perpendicular to the plane, containing the displacement vector and vector source.
(iii) Electrostatic field is angle independent, while magnetic field angle dependent between source vector and displacement vector.