syncfusion-blazor-treemap
Implement and configure the Syncfusion Blazor TreeMap component (SfTreeMap) for hierarchical data visualization. Use this when working with treemaps, area-proportional visualizations, or heat-map-like block displays. This skill covers TreeMap setup, layout configuration, data binding, color mapping, drill-down navigation, and accessibility features.
What this skill does
# Implementing TreeMap
**NuGet:** `Syncfusion.Blazor.TreeMap` + `Syncfusion.Blazor.Themes`
**Namespace:** `Syncfusion.Blazor.TreeMap`
This skill collects all guidance for implementing the Syncfusion Blazor `TreeMap` component. Use the navigation guide below to open the specific reference topic you need; each reference file is self-contained and includes examples, edge cases, and troubleshooting.
## Official API Surface
- Component: `SfTreeMap<TValue>`
- Interface: `ITreeMap`
- Core child settings: `TreeMapLevels`, `TreeMapLeafItemSettings`, `TreeMapLegendSettings`, `TreeMapTooltipSettings`, `TreeMapSelectionSettings`, `TreeMapHighlightSettings`, `TreeMapEvents`
- Common enums: `LayoutMode`, `RenderingMode`, `LabelPosition`, `LabelPlacement`, `LabelIntersectAction`, `LegendMode`, `LegendPosition`, `LegendOrientation`, `LegendShape`, `SelectionMode`, `HighLightMode`
- Common event args: `LoadEventArgs`, `LoadedEventArgs`, `ItemRenderingEventArgs`, `ItemClickEventArgs`, `ItemSelectedEventArgs`, `ItemMoveEventArgs`, `LegendRenderingEventArgs`, `LegendItemRenderingEventArgs`, `TreeMapTooltipArgs`
## When to Use This Skill
- When integrating a hierarchical, area-proportional visualization in a Blazor app.
- When you need guidance on layouts, color-mapping, labels, legends, or drill-down.
- When configuring data-binding for hierarchical or flat datasets.
- When implementing accessibility, localization, print/export, or performance optimizations.
## ⚠️ Security Warning
**DO NOT bind TreeMap to untrusted public APIs or third-party data sources without proper validation.** Remote data can be manipulated to inject malicious code, corrupt visualizations, or cause denial-of-service attacks. Always:
- ✅ Use only internal, authenticated APIs you own and control
- ✅ Validate and sanitize ALL remote data before binding
- ✅ Implement server-side authorization and rate limiting
- ✅ Use HTTPS and verify SSL/TLS certificates
- ✅ HTML-encode string properties to prevent XSS
**For detailed security guidance, see:** [Security Considerations in data-binding.md](references/data-binding.md)
## Documentation and Navigation Guide
### API Reference
📄 **Read:** [references/api-reference.md](references/api-reference.md)
- Quick lookup for the main TreeMap component, child settings, events, methods, and enums.
### Getting Started
📄 **Read:** [references/getting-started.md](references/getting-started.md)
- Installation, NuGet package, project setup, minimal example.
### Data Binding and Sources
📄 **Read:** [references/data-binding.md](references/data-binding.md)
- Flat vs hierarchical data, local/remote sources, data adaptors.
- Remote data binding: Only to internal, authenticated APIs you control — do NOT bind directly to untrusted third-party endpoints. See [references/data-binding.md](references/data-binding.md) for the mandatory security checklist and safe patterns (server-side proxying, validation, sanitization, rate limits).
### Layout and Levels
📄 **Read:** [references/layout-and-levels.md](references/layout-and-levels.md)
- Layout algorithms, level grouping, headers and gaps.
### Leaf Items
📄 **Read:** [references/leaf-items.md](references/leaf-items.md)
- Leaf node styling, templates and label positioning.
### Color Mapping
📄 **Read:** [references/color-mapping.md](references/color-mapping.md)
- Range, equal, desaturation, palette mappings and strategies.
### Labels
📄 **Read:** [references/labels.md](references/labels.md)
- Data label templates, formatting and overflow handling.
### Legend
📄 **Read:** [references/legend.md](references/legend.md)
- Legend modes, positioning and smart legend behaviors.
### Tooltips
📄 **Read:** [references/tooltip.md](references/tooltip.md)
- Default and templated tooltips, styling and dynamic content.
### Drill-Down
📄 **Read:** [references/drill-down.md](references/drill-down.md)
- Enabling drill-down, breadcrumbs, and custom navigation.
### Selection & Highlight
📄 **Read:** [references/selection-and-highlight.md](references/selection-and-highlight.md)
- Selection modes, highlight, and programmatic selection.
### Events & Methods
📄 **Read:** [references/events-and-methods.md](references/events-and-methods.md)
- Lifecycle events, render events, print/export methods.
### Advanced Features
📄 **Read:** [references/advanced-features.md](references/advanced-features.md)
- Accessibility, localization, performance, placing the TreeMap inside other components.
### Troubleshooting
📄 **Read:** [references/troubleshooting.md](references/troubleshooting.md)
- Common issues, rendering and data-binding fixes.
## Quick Start (Minimal example)
```csharp
@using Syncfusion.Blazor.TreeMap
<SfTreeMap DataSource="@Data">
<TreeMapLevels>
<TreeMapLevel GroupPath="Category" />
</TreeMapLevels>
</SfTreeMap>
@code {
public object[] Data = new[] { new { Category = "A", Value = 10 } };
}
```
## Common Patterns
- Quick selection + drill-down for hierarchical exploration.
- Use `RangeColorMapping` for value-driven coloring and `Palette` when mapping explicit colors.
- Prefer server-side paging/aggregation for very large datasets and use client-side rendering for moderate datasets.
## References
- All reference files are in `references/` and are self-contained with TOCs.
---
# Implementing Syncfusion Blazor TreeMap
A comprehensive guide for implementing hierarchical data visualization using Syncfusion Blazor TreeMap component. TreeMaps display hierarchical data as nested rectangles where the size and color of each rectangle represents different data dimensions.
## When to Use This Skill
Use this skill when you need to:
- **Visualize hierarchical data structures** - Display organizational charts, file systems, or nested data with parent-child relationships
- **Show proportional data** - Represent data where rectangle size reflects quantitative values (sales, population, disk space)
- **Enable drill-down navigation** - Allow users to interactively explore multi-level hierarchical data
- **Compare data distributions** - Use color mapping to show additional dimensions (growth, performance, categories)
- **Display large datasets** - Efficiently visualize hundreds or thousands of data points in limited space
- **Create interactive dashboards** - Combine with selection, highlighting, tooltips, and legends for rich user experience
**Common Use Cases:**
- Portfolio analysis and asset allocation
- Market share and competitive analysis
- Budget and resource distribution
- File/folder size visualization
- Organizational structure displays
- Product category sales analysis
- Website analytics (page hierarchy and traffic)
## Component Overview
The TreeMap component organizes data into nested rectangles using various layout algorithms (Squarified, SliceDiceAuto, Horizontal, Vertical). Each rectangle's size is proportional to a specified data value, and colors can represent additional dimensions through sophisticated color mapping strategies.
**Key Capabilities:**
- Multiple layout algorithms for optimal space utilization
- Hierarchical data binding (flat or nested structures)
- Multi-level drill-down with breadcrumb navigation
- Advanced color mapping (range, equal, desaturation, palette)
- Interactive legends with filtering
- Rich tooltips with templates
- Selection and highlight modes
- Print and export (PDF, PNG, JPEG, SVG)
- Full accessibility support (ARIA, keyboard navigation)
## Documentation and Navigation Guide
### Getting Started
📄 **Read:** [references/getting-started.md](references/getting-started.md)
**When to read:** Setting up TreeMap for the first time, installation, basic implementation
**What's covered:**
- Installation via Visual Studio, VS Code, or .NET CLI
- NuGet package setup (Syncfusion.Blazor.TreeMap)
- Service registration and namespace imports
- CSS theme configuration
- Basic TreeMap implementation with sample data
- License registration for production
- Blazor WebAssembly vs Web App differRelated in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.