> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# PyramidChart()

- Package: [@gooddata/sdk-ui-charts](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/index.md)
- Kind: function
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-charts/src/charts/pyramidChart/PyramidChart.tsx
- Guides: [Pyramid chart](https://www.gooddata.ai/docs/gooddata-ui/latest/visualisations/pyramid-chart/index.md)

A pyramid chart displays values on top of each other, useful for example for showing hierarchies or workflows.

**Signature:**

```typescript
export declare function PyramidChart(props: IPyramidChartProps): import("react/jsx-runtime").JSX.Element;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| props | [IPyramidChartProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.ipyramidchartprops/index.md) |  |

**Returns:**

import("react/jsx-runtime").JSX.Element

## Remarks

You can define pyramid chart using either multiple measures or single measure and a viewBy attribute whose values will be used to slice the single measure.

See [IPyramidChartProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.ipyramidchartprops/index.md) to learn how to configure the PyramidChart.
