# Funnel Chart

Displays a funnel chart.

| <picture><source srcset="/files/dQd381I5CC1MweILJqDk" media="(prefers-color-scheme: dark)"><img src="/files/GyTaDdPcbPhptTqehiei" alt="Funnel"></picture> |
| --------------------------------------------------------------------------------------------------------------------------------------------------------- |

## Specifications

### Aggregation

Funnel charts [aggregate values (metrics) for each label (dimension)](/data-exploration/chart/chart-common.md#dimension-metric) and display them in stages.

| Item  | Role      | Notes                              |
| ----- | --------- | ---------------------------------- |
| Label | Dimension | Stage names in the funnel          |
| Value | Metric    | Displayed as values for each stage |

#### Example Configurations

* Show "Visits → Sign-ups → Add to cart → Purchase counts" as a funnel
  * Label (Dimension): Stage names
  * Value (Metric): Sum of counts

### Sort Order

* When sorting is set to "Label order", no reordering is performed and percentages are calculated based on the first value
* When sorting is set to "Value ascending/descending", percentages are calculated based on the maximum value

## Tips

### Frame Feature

Funnel charts support the frame feature. See [Frame Feature](/data-exploration/chart/chart-common.md#frame-feature) for details.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.codatum.com/data-exploration/chart/funnel-chart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
