Skip to content
Statistics Rich #mixture#gmm#multimodal

Mixture of Gaussians

Two or three overlapping bell curves summed into a multi-modal distribution.

A free, animated mixture of gaussians you can read here or embed on any website, from Scrollchart.

Mixture of Gaussians

Mixture of Gaussians (bimodal)

A Gaussian mixture model (GMM) represents a population as the weighted sum of two or more normal distributions. The faint dashed curves are the individual components, each with its own mean, standard deviation, and mixing weight. The bold solid curve is their weighted sum: the distribution you would observe sampling from the population without knowing which component generated each point.\n\nThe result is multi-modal. Two humps appear when the component means are far enough apart relative to their standard deviations. The valley between the humps forms a natural decision boundary for separating the two subgroups. When components overlap heavily, the mixture looks like a single broadened distribution, which is why naively assuming normality can conceal latent subgroups.\n\nExample: heights of male and female adults in a combined sample form a bimodal mixture. Neither subpopulation is non-normal; it is the mixing that produces two peaks.

Good for

  • Articles in the statistics category
  • Editorial pages where a quick visual replaces a wall of text
  • Content-marketing posts that need a clean, branded illustration

Source & accuracy

This mixture of gaussians 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.

Superimposing multiple bell curves

A mixture of Gaussians combines two or more normal distributions, each with its own mean and standard deviation, weighted by mixture proportions that sum to 1. The result is a multi-modal probability distribution where the overall shape reflects contributions from all component distributions.

If two populations are sampled together without labels, the combined data might exhibit two distinct peaks. A mixture model captures this structure: perhaps 40 percent of observations come from group A (mean = 20, SD = 3) and 60 percent from group B (mean = 35, SD = 4).

Identifying latent groups and model selection

Mixture models are useful for clustering and segmentation when you suspect hidden subgroups but lack explicit labels. Machine learning algorithms like expectation-maximization (EM) estimate both the means and proportions of each component from data alone.

A challenge is choosing the right number of components. Too few components under-represent the data's complexity; too many introduce spurious detail. Information criteria (AIC, BIC) or cross-validation help balance fit against model complexity. Visualizing the overlaid component curves often reveals whether the model makes intuitive sense.

Embed this diagram

Add this animated mixture of gaussians 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 mixture of gaussians for any website.
Who uses it
Data journalists, Researchers & academics, Content marketers, News organizations.
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="mixture-of-gaussians" data-scrollchart-v="1"></div>
<script src="https://scrollchart.com/embed.js" async></script>

Frequently asked questions

Where can I get a free animated "Mixture of Gaussians" for my website?
Scrollchart provides "Mixture of Gaussians" 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 mixture of gaussians in a blog post or article?
Paste the one-line HTML snippet from the Scrollchart diagram page into your post editor. It works in WordPress, Webflow, Ghost, and plain HTML with no plugin required. The animated diagram and its explainer text load from scrollchart.com and render directly in your page DOM.