Pareto chart
How concentrated a total is: sorted shares and the cumulative curve on one axis.
How dependent a total is on its biggest items: top 10% of customers = X% of revenue, with Gini.
A concentration curve shows how much of a total depends on its biggest items. Items are sorted from largest to smallest; the curve plots the cumulative share of items against the cumulative share of the total. If every customer paid the same, the curve would follow the diagonal. The further it bulges above, the more you depend on a few accounts.
Call-outs read the curve for you: top 10% of customers bring in a given share of revenue, top 20% another. The Gini coefficient sums it up in one number, from 0 (every item equal) to 1 (one item has everything). It is the Lorenz curve that economists use, drawn largest first because that is the question businesses ask. Negative and missing values are left out with a note; the table ranks every item with its share and cumulative share.
Investors and lenders ask about customer concentration in every review. For a short list of causes or categories, use a Pareto chart instead.
Concentration curve is a Pro chart.
Installation is part of Pro
Get Pro to install it with your access key and the shadcn CLI, and use it in unlimited projects.
Unlock with ProUsage examples are part of Pro
Every example on this page comes with its code in Pro. The props and data shape below are public.
Unlock with ProOne row per item with a label key and a non-negative numeric value key; the chart sorts them.
[{ customer: "Account 001", arr: 48200 }, ...]Missing values are null. Invalid values make the chart say what’s wrong instead of drawing a misleading picture. How charts handle bad data
Every chart also accepts the shared frame props: title, subtitle, source, height, mode, toolbar. Common API
export interface ConcentrationCurveProps extends FrameProps {
/** Rows to draw, one per item (customer, product, account). See the Data section for the shape. */
data: Row[];
/** Key of the item name. */
label: string;
/** Key of the item's value (revenue, usage, tickets). */
value: string;
/** Shares of items to call out, e.g. [0.1, 0.2] for "top 10%" and "top 20%". Default [0.1, 0.2]. */
marks?: number[];
/** Show the Gini coefficient (0 = every item equal, 1 = one item has everything). Default true. */
gini?: boolean;
/** What the items are, used in labels. Default "items". */
itemLabel?: string;
/** What the value is, used in labels. Default "value". */
valueLabel?: string;
/** Number format for values in the tooltip and table. */
format?: FormatInput;
}How concentrated a total is: sorted shares and the cumulative curve on one axis.
Many parts of one whole, sized by area and optionally grouped.
The shape of one distribution, with automatic binning and a median marker.