/kx-dashboards-knowledge:kx-heatmapfrom kx-dashboards-knowledge
Generates a KX Dashboards treemap/heatmap component with hierarchical tile visualisation, size/colour columns, grouping, and palette control.
Ships in kx-dashboards-knowledge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Also read kx-dashboard-core for: envelope, screen/widget wrapper, data sources, ViewState, binding patterns, actions, notifications, and the pre-flight checklist.
key: "Heatmap" · definitionId: "5" · componentName: "Treemap" · version: "v2.3.0.1"
A proportional tile (treemap) visualisation. Tile area is proportional to a size column; tile colour is driven by a separate colour column or a fixed palette.
This skill uses progressive disclosure: the identity, hazards, workflow, and output checklist are here; the bulky component JSON, per-section field tables, and worked patterns live in reference/. Read only the reference file relevant to your current step.
| File | Read it when you need… |
|---|---|
| reference/component-schema.md | The full component JSON plus the per-section field tables — Basics, Data[] layer definitions and HighlightRules, ColorPalette, NodeLabel, GroupBy, Tooltip, and Animation. |
| reference/examples.md | Copy-ready patterns — market map (size by market cap, colour by % change), sector-grouped treemap, and fixed-colour portfolio composition. |
key is "Heatmap" but it renders a Treemap — the component is named Treemap internally (componentName: "Treemap") and uses ECharts treemap. There is no traditional heatmap matrix; this is a proportional tile/treemap component.Data[] is an array of layer objects, not a data source — Basics.Data is the data source binding. Data[] defines how to use columns from that source (Column = display/label column, Size = tile size column, Color = colour column). At minimum one Data[] entry is required.Basics.SelectedAttr specifies which column is published on click — Selected receives the value of SelectedAttr column from the clicked node. If SelectedAttr is blank, nothing is published to Selected.ColorType: "Scaled" or "Gradient" uses the Color column — other types (Fixed, Iterative, Iterative Children) use FixedColor or cycle through ColorScheme.GroupBy.UseGroupBy: true creates a hierarchical treemap — GroupByColumns defines the parent group column. Each group gets a header bar; ShowHeader: true is required to see the label.NodeLabel.customLabel is plain-text only — it is a Handlebars template rendered as canvas text by ECharts. HTML elements (<br>, <b>, <span>, etc.) are not rendered; they appear as literal characters. Use a plain separator such as a space or | between values (e.g., "{{sym}} | {{pctChange}}%").version in the JSON must be "v2.3.0.1" — this is the current version applied after all upgrades.key, definitionId, componentName, version) is in the line above.Basics.Data to the data source that returns the rows to tile (each row becomes one node), and set SelectedAttr to the column published to Selected on click. Field notes in reference/component-schema.md → Basics.Data[] layer. Add one layer object mapping Column (label), Size (tile area), and Color (colour scaling), plus any HighlightRules. See reference/component-schema.md → Data[].ColorPalette.ColorType and the matching fields — Color-column-driven (Scaled/Gradient/Gradient Percentage) vs palette-driven (Fixed/Iterative/Iterative Children). See reference/component-schema.md → ColorPalette.NodeLabel (remember customLabel is plain-text only) and, for a hierarchy, GroupBy with ShowHeader: true. Add Tooltip and Animation as needed. All in reference/component-schema.md.reference/examples.md when it matches the request.Before returning the JSON, verify:
key is "Heatmap" and definitionId is the string "5".options.version is "v2.3.0.1".Basics.Data is a data binding { "_dashboardsType": "data", "value": "<source>" }.Basics.Selected is a ViewState binding and SelectedAttr names the column to publish on click.Data[] has at least one layer with Column, Size, and (if colour-scaled) Color set.ColorPalette.ColorType matches its inputs — Scaled/Gradient use the Color column; Fixed/Iterative use FixedColor/ColorScheme.NodeLabel.customLabel contains no HTML — plain separators only.GroupBy.UseGroupBy is true with GroupByColumns and ShowHeader: true.id fields are unique UUIDs across the dashboard.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kxsystems/kx-skills --plugin kx-dashboards-knowledge32 skills in this plugin
/kx-accordionUse this when the user wants collapsible or expandable sections in a KX Dashboards layout. Use it for section-based content organization; use kx-tabs for tabbed switching and kx-flex-panel for non-collapsible flexible layout containers./kx-actionsUse this alongside a component skill when adding KX Dashboards interactions such as clicks, hovers, row selection, navigation, or data-source re-execution. It defines how actions are attached and triggered, not the base component itself./kx-basiccomponents-containersUse this for KX Dashboards layout containers and navigation primitives such as panels, navigation menus, and overlay drawers. Use it for structural layout needs; use kx-tabs for tabbed switching, kx-accordion for collapsible sections, and kx-flex-panel for fixed-plus-flex layouts.Other plugins' skills for the same job