# Revenue Map block

> Dotted world map of revenue by sales region with hot spots and revenue per account

Revenue heatmap on a dotted world map: thirteen sales regions shaded by share of revenue, segment and period selects in the header, the top three hot spots and monthly revenue per paying account. ReUI Frame, Item, Select. For RevOps and board reviews

- Type: Pro block
- Category: [Composed Chart](https://reui.io/blocks/chart/composed-chart.md)
- Page: https://reui.io/blocks/chart/composed-chart/chart-56
- MCP: `get_block("chart-56")`
- Built with: Button, Dropdown Menu, Empty, Frame, Item, Select, Skeleton
- Installs with a ReUI Pro or Ultimate license; setup: https://reui.io/docs/license-setup

## Best for

Revenue per sales region on a dotted world map, switched by customer segment, with the top regions and revenue per account under it

## Agent notes

- Replace `REGIONS` and `SEGMENTS` in data.ts with your books; shares, hot spots and revenue per account derive in model.ts
- Region borders are longitude and latitude rules in `regionOf` in world-shapes.ts on a `STEP` degree grid; Russia stays neutral by rule
- Download CSV and Copy Summary confirm with sonner `toast`, so the app needs a mounted Toaster for either message to show

## When not to use

- One metric over time for a single market, read against an earlier period: use the [Area Chart blocks](https://reui.io/blocks/chart/area-chart.md)

## Third-party libraries

- Sonner v2: [API reference](https://sonner.emilkowal.ski/toast), [docs](https://sonner.emilkowal.ski/getting-started)

## Install

```bash
npx shadcn@latest add @reui/chart-56
```

## About Composed Chart blocks

### When to use

- A measure in bars and a line on one time axis, against its goal or limit, such as sales or latency
- Cash or liquidity flowing in and out by period, over the balance those flows add up to
- Revenue per sales region on a dotted world map, switched by customer segment from the header

### When not to use

- One volume series alone, with no goal or baseline to compare against: use the [Area Chart blocks](https://reui.io/blocks/chart/area-chart.md)
- Two or more series drawn only as strokes across shared time buckets: use the [Line Chart blocks](https://reui.io/blocks/chart/line-chart.md)

### Agent notes

- All but chart-56, an SVG map, plot in a recharts `ComposedChart` in `ChartContainer`; a new series is one more `Bar`, `Area` or `Line` child with a `dataKey`

Every ReUI item has a twin like this one; the index is https://reui.io/llms.txt. Agents with the ReUI MCP (https://reui.io/docs/mcp) get the same guidance from the getters named above.
