/syncfusion-angular:syncfusion-angular-treemapfrom Syncfusion Angular UI Components
Create and customize Syncfusion Angular TreeMap components for hierarchical data visualization. Use this skill when you need to implement a TreeMap, visualize hierarchical data structures, configure multi-level layouts, apply color mapping, enable drilldown navigation, add labels and tooltips, configure legends, handle selection and highlight, export to images or PDF, print, or customize internationalization and accessibility. Covers installation, data binding, layout types, levels, color mapping, labels, tooltips, legends, drilldown, interactivity, print/export, RTL, locale formatting, and accessibility.
Ships in Syncfusion Angular UI Components. 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.
The TreeMap component visualizes hierarchical or grouped data as nested rectangles. Each rectangle represents a data item, and its size is determined by a numeric field mapped through weightValuePath. TreeMaps are useful for displaying structures such as product categories, regional breakdowns, market segments, or any grouped dataset where relative magnitude matters.
levels and groupPathChoose your reference based on what you need to accomplish:
📄 Read: references/api-reference.md
📄 Read: references/getting-started.md
TreeMapModule📄 Read: references/data-binding.md
levelsweightValuePath for item sizing📄 Read: references/color-mapping.md
colorValuePathleafItemSettings.colorMapping📄 Read: references/drilldown-and-navigation.md
levelsdrillDownView behaviordrillStart, drillEnd)📄 Read: references/levels-and-layout.md
groupPath and grouped renderingSquarified, SliceAndDiceVertical, SliceAndDiceHorizontal, SliceAndDiceAuto)📄 Read: references/labels-tooltips-legend.md
📄 Read: references/selection-interactivity.md
selectItem(...)📄 Read: references/print-export-accessibility.md
📄 Read: references/internationalization.md
setCulture() and setCurrencyCode()import { Component, signal } from '@angular/core';
import { TreeMapModule } from '@syncfusion/ej2-angular-treemap';
@Component({
selector: 'app-treemap',
standalone: true,
imports: [TreeMapModule],
template: `
<ejs-treemap
id="treemap-container"
[dataSource]="data()"
weightValuePath="Size"
[levels]="levels"
[leafItemSettings]="leafItemSettings">
</ejs-treemap>
`,
styles: [`
#treemap-container {
display: block;
width: 100%;
height: 500px;
}
`]
})
export class TreeMapComponent {
public data = signal([
{ Category: 'Electronics', Item: 'Laptops', Size: 150 },
{ Category: 'Electronics', Item: 'Phones', Size: 200 },
{ Category: 'Furniture', Item: 'Chairs', Size: 100 },
{ Category: 'Furniture', Item: 'Tables', Size: 120 }
]);
public levels = [
{ groupPath: 'Category' }
];
public leafItemSettings = {
labelPath: 'Item',
gap: 4,
border: { color: '#ffffff', width: 1 }
};
}
Display grouped hierarchical data using levels and groupPath.
public levels = [
{ groupPath: 'Region', headerFormat: '${Region}' },
{ groupPath: 'Country', headerFormat: '${Country}' }
];
public leafItemSettings = {
labelPath: 'Country'
};
Use range color mapping through rangeColorValuePath and leafItemSettings.colorMapping.
<ejs-treemap
[dataSource]="data()"
weightValuePath="Value"
rangeColorValuePath="Value"
[leafItemSettings]="leafItemSettings">
</ejs-treemap>
public leafItemSettings = {
labelPath: 'Name',
colorMapping: [
{ from: 0, to: 50, color: '#3498db' },
{ from: 50, to: 100, color: '#e74c3c' }
]
};
Enable drilldown with breadcrumb navigation for exploring grouped levels.
<ejs-treemap
[dataSource]="data()"
weightValuePath="Value"
[enableDrillDown]="true"
[enableBreadcrumb]="true"
breadcrumbConnector=" / "
[levels]="levels"
[leafItemSettings]="leafItemSettings">
</ejs-treemap>
| Property | Type | Purpose |
|---|---|---|
dataSource | object[] | Data collection for TreeMap items |
weightValuePath | string | Numeric field used to size each item |
leafItemSettings | object | Leaf item configuration such as labels, borders, templates, and color mapping |
levels | object[] | Hierarchy configuration using groupPath and header settings |
layoutType | 'Squarified' | 'SliceAndDiceVertical' | 'SliceAndDiceHorizontal' | 'SliceAndDiceAuto' | Rectangle arrangement algorithm |
colorValuePath | string | Data field used for direct item color assignment |
equalColorValuePath | string | Data field used for category-based color mapping |
rangeColorValuePath | string | Data field used for numeric range color mapping |
enableDrillDown | boolean | Enables drilldown navigation through grouped levels |
enableBreadcrumb | boolean | Displays breadcrumb navigation during drilldown |
legendSettings | object | Legend display and styling configuration |
tooltipSettings | object | Tooltip visibility, formatting, and template configuration |
selectionSettings | object | Selection appearance and behavior configuration |
highlightSettings | object | Hover highlight appearance configuration |
enableRtl | boolean | Enables right-to-left rendering |
locale | string | Overrides the component culture |
format | string | Applies numeric formatting such as n2, c, or p |
useGroupingSeparator | boolean | Enables culture-aware number grouping separators |
allowPrint | boolean | Enables print support |
allowImageExport | boolean | Enables image export support |
allowPdfExport | boolean | Enables PDF export support |
description | string | Adds descriptive accessibility text for the component |
tabIndex | number | Controls focus order for the TreeMap container |
TreeMapModule for focused standalone Angular components.TreeMapLegendService, TreeMapTooltipService, TreeMapSelectionService, TreeMapHighlightService, PrintService, ImageExportService, and PdfExportService only when the corresponding features are enabled.leafItemSettings.colorMapping and pair it with equalColorValuePath or rangeColorValuePath when needed.selectItem(levelOrder, isSelected?) rather than unsupported helper methods.references/api-reference.md (opens in a new tab)references/color-mapping.md (opens in a new tab)references/data-binding.md (opens in a new tab)references/drilldown-and-navigation.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/internationalization.md (opens in a new tab)references/labels-tooltips-legend.md (opens in a new tab)references/levels-and-layout.md (opens in a new tab)references/print-export-accessibility.md (opens in a new tab)references/selection-interactivity.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-angular65 skills in this plugin
/syncfusion-angular-3d-chartImplement interactive 3D charts in Angular applications using Syncfusion. Guide covers setup, chart types (bar, column, stacked variants), customization, data binding, axis configuration, legends, tooltips, selection, data labels, appearance styling, dimensions, print/export, and accessibility. Use this skill whenever a user needs to create, configure, or customize 3D chart visualizations./syncfusion-angular-accordionGuide for implementing Angular Accordion components for collapsible content panels, expandable sections, FAQs, multi-step wizards, step-by-step forms, navigation menus, or tabbed navigation. Use this skill when users mention expanding/collapsing content, accordion layouts, step-by-step workflows, or hierarchical content organization. This skill covers initialization, expand modes, data binding, dynamic loading, animations, nested accordions, and real-world patterns./syncfusion-angular-accumulation-chartImplement and customize Syncfusion Angular Accumulation Charts (Pie, Doughnut, Pyramid, Funnel) with data binding, labels, legends, and tooltips. Use this when creating accumulation charts, configuring chart types, customizing data visualization, adding annotations, or handling interactive chart events in Angular applications.Other plugins' skills for the same job