> Every Taji docs page as Markdown: https://docs.taji.is/llms.txt

# Sector heatmap

An index's members as a sector heatmap: each tile sized by the member's index weight, grouped by sector and coloured by the day's change.

## What it needs

An index's members, which the SSGA plugin serves for the S&P 500 free and with no key, and a quote for each member to colour its tile.

The app does not carry this plugin and a kernel refuses it under `TAJI_PLUGINS`, which holds process plugins only (it has no backend). You build it from a source checkout: pack its window half with `bun run ui/pack.ts plugins/taji-sectors`, then pack it into a registry you sign and install it from there, which needs a debug kernel ([Publish a plugin](https://docs.taji.is/plugins/publish.md)). No registry serves it.

## Use

| Pane | Draws |
|---|---|
| `taji-sectors.map` (Sector heatmap) | `GET /get/constituents` of the index `plugin.taji-sectors.index` names (default `index:$SPX`), read again each minute while shown: one tile a member, labelled with its symbol and change; a click sets the chart's symbol |

A member with no quote keeps its tile in grey, its change `—`; a member with no sector stated is grouped under `No sector`. The line under the plot names the index, the time of its oldest row, `delayed` where a quote is, and the colour key from −3% to +3%.

`plugin.taji-sectors.index` is a setting of the pane's own, set with `POST /verb/ui/settings/set` and `{"key": "plugin.taji-sectors.index", "value": "index:$SPX"}` ([configuration](https://docs.taji.is/reference/configuration.md#pluginid)); the pane has no control for it. SSGA serves the S&P 500 alone, so any other index shows the kernel's refusal.

It has no backend: the window half alone, drawn by `Chart` from `@taji/plugin/chart`. Build and check: [AGENTS.md](https://github.com/TajiAI/Taji/blob/main/plugins/taji-sectors/AGENTS.md); to write more panes, `docs/plugins/pane.md` in the Taji checkout.

## Reads

Its read is [Sector map](https://docs.taji.is/reference/coverage/panels.md#sector-map-sector-map), `constituents` of the index. Its first paint is the `sector-map` row of [First paint](https://docs.taji.is/reference/coverage/panels.md#first-paint).
