Skip to content
Physics Medium #em-fields#electromagnetism

Electric and Magnetic Field Lines

Charge produces radial E lines; current produces circular B lines.

A free, animated electric and magnetic field lines you can read here or embed on any website, from Scrollchart.

Electric and Magnetic Field Lines

Electric FieldPoint charge (+q)Magnetic FieldCurrent wire (out of page)

Two panels: point charges with radial E lines (out from positive, into negative) and a current-carrying wire with circular B lines following the right-hand rule.

Good for

  • EM fundamentals tutorials

Source & accuracy

This electric and magnetic field lines is an editorial illustration built to represent the concept accurately. Where it shows figures, they are typical or representative values chosen to make the relationship clear, not a single underlying dataset. The diagram and its explainer are reviewed and maintained centrally, and updated over time as understanding improves.

Field line geometry and charge configuration

Electric field lines emanate radially outward from positive charges and converge inward to negative charges. The density of field lines at any location represents the field strength: closely spaced lines indicate a strong field, while sparse lines indicate a weak one. This visual representation transforms abstract field concepts into concrete geometry. A single point charge produces radial field lines in all directions. Two opposite charges produce lines that leave the positive charge and terminate at the negative charge, with field strength varying inversely with distance squared. Multiple charges create complex patterns where field lines never cross, revealing the superposition principle at work.

Magnetic field circulation around current sources

Magnetic field lines form closed loops around current-carrying wires, unlike electric field lines which originate and terminate on charges. A straight wire produces concentric circular field lines when viewed end-on, demonstrating that magnetic fields have no sources or sinks comparable to electric charges. The direction of circulation (clockwise or counterclockwise) depends on the current direction, following the right-hand rule. Current loops produce field patterns that resemble bar magnets, establishing the connection between electricity and magnetism. This circulation property of magnetic fields underlies all electromagnetic induction: changing magnetic flux through a loop induces an electric field that drives current, the principle underlying generators and transformers.

Embed this diagram

Add this animated electric and magnetic field lines to your own site. Copy one line of HTML, or use the embed builder for theme and sizing options.

Reference

What this is
A free, embeddable, animated electric and magnetic field lines for any website.
Who uses it
Physics educators.
How to embed
Copy one line of HTML. No signup. No watermark. Works in WordPress, Webflow, Ghost, Substack, plain HTML.
File size
iframe embed, ~80 KB gzipped (loads on demand, does not block your page paint).
License
Free forever. Editorial explainer text included; updated centrally over time.

Embed format options

Copy the universal HTML snippet, the WordPress shortcode, or an iframe fallback - see the WordPress plugin page for details. Any format keeps the same Core Web Vitals profile and the same explainer text.

Embed snippet
<div data-scrollchart="em-field-lines" data-scrollchart-v="1"></div>
<script src="https://scrollchart.com/embed.js" async></script>

Frequently asked questions

Where can I get a free animated "Electric and Magnetic Field Lines" for my website?
Scrollchart provides "Electric and Magnetic Field Lines" as a free, embeddable animated diagram you can add to any website with one line of HTML. No signup is required and there is no watermark. The diagram and its explainer text are served from scrollchart.com, so the embed stays current without any maintenance on your end.
How do I embed a electric and magnetic field lines in WordPress or a static site?
Paste the HTML snippet from the Scrollchart diagram page into your WordPress post (in HTML/code view), your Webflow embed block, or directly into a static HTML file. No plugin is needed. The diagram loads from scrollchart.com and paints in as the reader scrolls.