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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Syncfusion.Blazor.TreeMap" Version="35.1.40" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Syncfusion.Blazor.TreeMap" Version="35.1.40" />
                    
Directory.Packages.props
<PackageReference Include="Syncfusion.Blazor.TreeMap" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Syncfusion.Blazor.TreeMap --version 35.1.40
                    
#r "nuget: Syncfusion.Blazor.TreeMap, 35.1.40"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Syncfusion.Blazor.TreeMap@35.1.40
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Syncfusion.Blazor.TreeMap&version=35.1.40
                    
Install as a Cake Addin
#tool nuget:?package=Syncfusion.Blazor.TreeMap&version=35.1.40
                    
Install as a Cake Tool

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.

Blazor TreeMap

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

  1. Register the Syncfusion Blazor service in Program.cs:
using Syncfusion.Blazor;

builder.Services.AddSyncfusionBlazor();
  1. 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

Support and feedback

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

Mobile: Flutter | MAUI | UWP

Desktop: WinForms | WPF | WinUI

Learn more at www.syncfusion.com.

sales@syncfusion.com | Toll Free: 1-888-9-DOTNET

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed