This applet illustrates the concept of line integrals.
By selecting a line type and manipulating the source
charge, you can see the effect on the line integral
of dot product of the field and line element for the
various configurations. The blue arrows represent the
direction of the line elements and the red arrows represent
the electric field at that line element. The line types
are circular, rectangular, and random.