# XWUIChartLorenzCurve

A Lorenz-curve chart backed by `XWUIChart` that plots the cumulative share of a total against the cumulative share of the population, the classic view for inequality and concentration (the gap from the diagonal is the disparity). Provide named `series` of `{ x, y }` points and pick a `block` (1-4) variant plus a `size` preset; legend and grid auto-toggle per block unless overridden.

## Basic Usage

Two named series - `Series A` (30→64) and `Series B` (22→52) across Jan-Jun - drawn as cumulative-share curves.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Two series drawn as a Lorenz curve at the md preset.
```

## Income Inequality, Two Countries

Cumulative income-share curves for an egalitarian and an unequal economy, with the bow below the diagonal showing disparity.

```example
file: examples/IncomeInequality.ts
html: examples/IncomeInequality.html
title: Income Inequality, Two Countries
description: Two national income distributions compared by how far each bows below equality.
```

## Customer Revenue Concentration

A single Lorenz curve over a SaaS account base reveals heavy Pareto-style revenue concentration in the top deciles.

```example
file: examples/RevenueConcentration.ts
html: examples/RevenueConcentration.html
title: Customer Revenue Concentration
description: Cumulative revenue share by customer decile showing an 80-20 pattern.
```

```api
```
