Skip to content
Medicine Rich #seir#epidemic#compartment-model

SEIR Compartmental Model

Susceptible -> Exposed -> Infected -> Recovered. Adds latent period vs SIR.

A free, animated seir compartmental model you can read here or embed on any website, from Scrollchart.

SEIR Compartmental Model

SEIR Compartmental ModelLatent period separates exposure from infectiousness; R0 = beta/gamma = 4.2; final attack rate 87%020406080100120140160Days since first exposure0%25%50%75%100%Fraction of population

Four compartments connected by transition rates: beta (S to E), sigma (E to I), gamma (I to R). Time-series output with each compartment plotted; latent-period delay relative to SIR demonstrated. Sliders for parameters update curves live.

Good for

  • Pandemic-modeling explainers showing how the latent period delays the infectious curve
  • Vaccination policy articles illustrating the effect of reducing beta or shortening the exposed period
  • Epidemiology textbook supplements demonstrating how R0 = beta/gamma governs final attack rate

Source & accuracy

This seir compartmental model 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.

What the exposed compartment adds to SIR

The SEIR model divides a population into Susceptible, Exposed, Infected, and Recovered compartments and tracks the flow between them over time. Its key addition over the simpler SIR model is the Exposed state: a latent period during which a person has been infected but is not yet infectious. For pathogens with a meaningful incubation delay this changes the predicted shape and timing of an outbreak.

Individuals move from Susceptible to Exposed on contact with infectious cases, then become Infected (and infectious) after the latent period, and finally transition to Recovered. The rates governing these transitions encode the latent period, the infectious period, and the transmission rate.

What the model captures and where it simplifies

SEIR is useful for exploring how interventions or a longer incubation period shift the epidemic peak, but it is a deliberate simplification. Basic versions assume a well-mixed population, constant rates, and no age or contact structure, so they describe broad dynamics rather than precise case counts. More elaborate variants add births, deaths, waning immunity, or network structure.

This is general educational information about epidemiological modelling, not medical or policy advice.

Embed this diagram

Add this animated seir compartmental model 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 seir compartmental model for any website.
Who uses it
Medical educators, Health journalists, Data journalists, Science popularizers.
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="seir-model" data-scrollchart-v="1"></div>
<script src="https://scrollchart.com/embed.js" async></script>

Frequently asked questions

Where can I get a free animated "SEIR Compartmental Model" for my website?
Scrollchart provides "SEIR Compartmental Model" 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 seir compartmental model diagram in a health or wellness blog?
Copy the HTML snippet from the Scrollchart diagram page and paste it into any post or page in your CMS. It works in WordPress, Webflow, Ghost, Substack, and plain HTML without any plugin or account. The diagram renders as animated SVG directly in your page, so search engines can index the accompanying explainer text.