Funnel chart

Use a funnel chart to show ordered stages whose values usually decrease through a process.

Every preview on this page is generated from the YAML shown below it using a fixed documentation dataset.

Basic

Sort a categorical measure descending so the widest stage appears first and each following stage narrows with its value.

Key fields
visuals:
  status_funnel:
    title: Orders by status funnel
    type: funnel
    query:
      dimensions:
        status: orders.status
      measures:
        order_count: null
      sort:
        - field: value
          direction: desc

Alternate dimension

Replace status with delivery buckets to reuse the funnel for an ordered operational distribution rather than a lifecycle stage.

Key fields
visuals:
  delivery_funnel:
    title: Delivery speed funnel
    type: funnel
    query:
      dimensions:
        delivery_bucket: orders.delivery_bucket
      measures:
        order_count: null
      sort:
        - field: delivery_bucket
          direction: asc

Aligned labels

Set presentation.align: left to anchor the stages, keep labels visible, and use presentation.sort to control the visual stage order independently.

Key fields
visuals:
  status_funnel_left:
    title: Left aligned status funnel
    type: funnel
    presentation:
      align: left
      sort: ascending
      show_labels: true
    query:
      dimensions:
        status: orders.status
      measures:
        order_count: null
      sort:
        - field: value
          direction: asc

API reference

Kind: chart. Renderer: echarts. Supported result shapes: category_value.

FieldTypeDefaultAllowed valuesDescription
query.dimensionsfield mappingGroups query results and supplies category, hierarchy, matrix, graph, or geographic labels.
query.measuresmeasure mappingSelects the governed semantic measures consumed by the visual shape.
query.sortsort listOrders query results by a returned field or measure alias.
presentation.alignstringcenterleft center rightAligns funnel stages within the plotting area.
presentation.show_labelsbooleantruetrue falseShows value labels directly on chart marks.
presentation.sortstringdescendingascending descending noneControls the renderer-side ordering of funnel stages.

Accessibility. Use a descriptive title and unit, and do not rely on color alone to distinguish series or values.