Syncfusion.Blazor.TreeMap
35.1.40
Prefix Reserved
dotnet add package Syncfusion.Blazor.TreeMap --version 35.1.40
NuGet\Install-Package Syncfusion.Blazor.TreeMap -Version 35.1.40
<PackageReference Include="Syncfusion.Blazor.TreeMap" Version="35.1.40" />
<PackageVersion Include="Syncfusion.Blazor.TreeMap" Version="35.1.40" />
<PackageReference Include="Syncfusion.Blazor.TreeMap" />
paket add Syncfusion.Blazor.TreeMap --version 35.1.40
#r "nuget: Syncfusion.Blazor.TreeMap, 35.1.40"
#:package Syncfusion.Blazor.TreeMap@35.1.40
#addin nuget:?package=Syncfusion.Blazor.TreeMap&version=35.1.40
#tool nuget:?package=Syncfusion.Blazor.TreeMap&version=35.1.40
Syncfusion Blazor TreeMap
The Syncfusion Blazor TreeMap component visualizes hierarchical and flat data using nested rectangles with customizable colors, labels, and legends. Perfect for displaying complex data structures and hierarchies in modern Blazor applications.

Using this package with an AI coding agent
Before generating Syncfusion code, ask your AI coding agent to run the Syncfusion setup using the following prompt:
Set up this project for Syncfusion before generating code. Fetch and follow the official instructions at https://ai.syncfusion.com, then report the detected platform, installed skill pack, MCP status, and any required licensing action.The setup detects your project's platform and loads the appropriate Syncfusion skill pack. No Syncfusion account or MCP key is required to install or read Syncfusion agent skills.
Platform reference: https://ai.syncfusion.com/blazor/llms.txt
Key features
- Hierarchical & Flat data visualization - Visualize hierarchical or flat datasets using nested, size‑proportional rectangles, enabling clear insight into relationships and distribution.
- Advanced color mapping options - Apply range‑based, equal‑value, or desaturation color mapping to quickly distinguish values or categories.
- Rich labeling & Templates - Display labels with trimming, wrapping, or hiding options, or use full HTML templates to provide richly styled node labels.
- Legends & Interactive tooltips - Use default or interactive legends to interpret categories and ranges, and enable tooltips to reveal detailed node information on hover.
- Drill‑down navigation - Explore data hierarchies more deeply by drilling into parent nodes to reveal child content interactively.
- Multiple layout algorithms - Choose from several layout modes, including Squarified, Horizontal Slice‑and‑Dice, Vertical Slice‑and‑Dice, and Auto layouts to best represent your data.
- Interactive selection & Highlighting - Highlight or select specific nodes on hover or click to focus user attention on key items.
- Responsive & mobile‑friendly design - Automatically adapts to all screen sizes with optimized rendering across desktops, tablets, and mobile devices.
- Export & Print support - Export TreeMaps as PNG, JPEG, or SVG, or print them directly for reporting and presentations.
- Accessibility & RTL support - Includes ARIA accessibility, keyboard navigation, screen‑reader compatibility, and full right‑to‑left layout support.
System requirements
- .NET 8.0 or later (Blazor Web App, Blazor Server App, Blazor WebAssembly App and Blazor Hybrid App)
- See full requirements: system requirements
Installation
Install the TreeMap package, which provides the scripts referenced below:
dotnet add package Syncfusion.Blazor.TreeMap
Add script references
For Blazor Server App / Blazor Web App, add these to Components/App.razor or App.razor. For Blazor WebAssembly App, add these to wwwroot/index.html:
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
Quick start
- Register the Syncfusion Blazor service in
Program.cs:
using Syncfusion.Blazor;
builder.Services.AddSyncfusionBlazor();
- Add the TreeMap component to your razor page:
<SfTreeMap DataSource="GrowthReport"
WeightValuePath="GDP"
TValue="Country">
<TreeMapLeafItemSettings LabelPath="Name" Fill="lightgray"></TreeMapLeafItemSettings>
</SfTreeMap>
@code {
public class Country
{
public string Name { get; set; }
public double GDP { get; set; }
}
public List<Country> GrowthReport = new List<Country> {
new Country {Name="United States", GDP=17946 },
new Country {Name="China", GDP=10866 },
new Country {Name="Japan", GDP=4123 },
new Country {Name="Germany", GDP=3355 }
};
}
Documentation
- Getting Started with Blazor Web App
- Getting Started with Blazor WASM App
- Blazor TreeMap component features overview
- Blazor TreeMap component demos
- API reference
- Blazor TreeMap component video tutorials
Support and feedback
- For queries, reach our Syncfusion support team or post them through the community forums.
- Request new features through the Syncfusion feedback portal.
Other popular Blazor components
Explore other popular Syncfusion Blazor components curated from UI components, standalone SDKs, and document solution suites.
| UI components | Standalone UI SDK's | Document processing |
|---|---|---|
| Blazor DataGrid | Blazor Gantt Chart | Blazor DOCX Editor |
| Blazor Pivot Table | Blazor Diagram | Blazor Document |
| Blazor Map | Blazor Scheduler | Blazor PDF Viewer |
| Blazor File Manager | Blazor RichTextEditor | Blazor Spreadsheet Editor |
License
This is a commercial product and requires a paid license for possession or use. Syncfusion licensed software, including this component, is subject to the terms and conditions of the Syncfusion EULA. You can purchase a license here or start a free 30-day trial here.
About Syncfusion
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 29,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
Today, we provide 1800+ components and frameworks for web, mobile, and desktop development across multiple platforms:
Web: Blazor | ASP.NET Core | ASP.NET MVC | JavaScript | Angular | React | Vue
Desktop: WinForms | WPF | WinUI
Learn more at www.syncfusion.com.
sales@syncfusion.com | Toll Free: 1-888-9-DOTNET
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Syncfusion.Blazor.Core (>= 35.1.40)
- Syncfusion.Blazor.Data (>= 35.1.40)
- Syncfusion.PdfExport.Net.Core (>= 35.1.40)
-
net8.0
- Syncfusion.Blazor.Core (>= 35.1.40)
- Syncfusion.Blazor.Data (>= 35.1.40)
- Syncfusion.PdfExport.Net.Core (>= 35.1.40)
-
net9.0
- Syncfusion.Blazor.Core (>= 35.1.40)
- Syncfusion.Blazor.Data (>= 35.1.40)
- Syncfusion.PdfExport.Net.Core (>= 35.1.40)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Syncfusion.Blazor.TreeMap:
| Package | Downloads |
|---|---|
|
Jakar.Extensions.Blazor.Syncfusion
Extensions to aid in development. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 35.1.40 | 263 | 10/13/2026 |
| 35.1.39 | 197 | 10/6/2026 |
| 35.1.37 | 274 | 9/29/2026 |
| 34.2.9 | 194 | 9/21/2026 |
| 34.2.8 | 195 | 9/14/2026 |
| 34.2.7 | 414 | 9/8/2026 |
| 34.2.6 | 221 | 8/31/2026 |
| 34.2.5 | 212 | 8/25/2026 |
| 34.2.4 | 286 | 8/17/2026 |
| 34.2.3 | 364 | 8/11/2026 |
| 34.2.2 | 554 | 8/5/2026 |
| 34.1.33 | 2,106 | 7/27/2026 |
| 34.1.32 | 879 | 7/21/2026 |
| 34.1.31 | 261 | 7/14/2026 |
| 34.1.30 | 208 | 7/9/2026 |
| 34.1.29 | 636 | 7/6/2026 |
| 33.2.15 | 389 | 6/23/2026 |
| 33.2.13 | 245 | 6/16/2026 |
| 33.2.12 | 196 | 6/9/2026 |
| 33.2.10 | 212 | 6/2/2026 |