---
title: "Pipeline"
description: "Revenue sources converging through a hub and fanning back out, with a centered total"
plan: Pro
docs: https://ui.edbn.me/docs/charts/pipeline-echarts-sankey-chart
---

# Pipeline

Revenue sources converging through a hub and fanning back out, with a centered total

Four sources feed one unlabelled hub on the Sankey chart, which splits into four destinations. Nodes are 10px wide, labels sit outside them with dollar totals, and the gradient links run blue to violet to red.

The total booked is summed from the links into the hub. From sm it sits over the middle of the diagram on a card-coloured fade; on phones it moves above the chart.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/pipeline-echarts-sankey-chart
```

## Dependencies
- npm: echarts@6.1.0, motion@^12.23.25
- edbn: echarts-sankey-chart

## Usage

The example code is part of Pro (https://ui.edbn.me/pricing). With the user's token, the edbn MCP server's `get_example` tool returns it: https://ui.edbn.me/mcp

## Files
- components/charts/pipeline-echarts-sankey-chart.tsx (83 lines)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
