PPolySim OS
For K-12 Students · Lorenz & Gini

Lorenz & Gini for a game-theory standoff

Built for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework. Simulate a game-theory standoff live below — adjust the inputs and watch it respond, right in your browser.

Lorenz Curve & GiniLive

Controls

Presets

The Lorenz curve plots the cumulative share of income against the cumulative share of population, from poorest to richest. Perfect equality is the diagonal; the more the curve bows below it, the more unequal the distribution. The Gini coefficient is twice the area between them — 0 is total equality, 1 is one person owning everything.

▶ Run in Python

Data Inspector

Gini coefficient0.628
Inequalityhigh
Top 10% share37%

Governing equation

Reading this result: High inequality (Gini 0.628): the curve bows far under the diagonal and the richest 10% capture 37% of all income.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with Lorenz & Gini

Frequently asked questions

Is this good for k-12 students?
Yes — this version of "Lorenz & Gini for a game-theory standoff" is framed for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.