# Pie
URL: /diagrammatic/docs/charts/pie

The share of a whole, at a glance.

> For AI agents: a documentation index is available at [llms.txt](/llms.txt). Use `.md` for canonical markdown pages; `.mdx` is kept as a backwards-compatible alias on supported URL paths.

```
import { Pie } from "diagrammatic";
```

Five slices, one dominant. The pie exists for a share you can point at, not a ranking of vendors.

- labels

  - compute
  - storage
  - egress
  - observability
  - other

- series

  - spend

    - $4.18m
    - $1.12m
    - $0.74m
    - $0.41m
    - $0.29m

* aspect

  1.25

* title

  FY25 cloud spend

* items

  - - label

      compute

    - value

      4180000

  - - label

      storage

    - value

      1120000

  - - label

      egress

    - value

      740000

  - - label

      observability

    - value

      410000

  - - label

      other

    - value

      290000

* inner

  0.58

* center

  $6.74m

* centerLabel

  FY25

Illustrative data. Cloud invoice rollup, FY25. Total $6.74m.

fig. 20 · FY25 cloud bill

The center shows $6.74m. Compute is 62% of that total. Storage and egress together add to $1.86m, still less than half of compute's $4.18m.

- Use it for

  Two to four shares where the headline is one dominant slice.

- Watch out

  Angles compare poorly; five or more slices belong in a bar chart.