Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Blazor Sankey Diagram is a flow visualization component that presents the movement of quantities between stages, with flow widths proportional to the values being transferred. Also known as a Sankey chart, it helps users clearly understand how resources, energy, data, or materials move through complex systems and processes. It is an effective tool for analyzing flow patterns, identifying bottlenecks, and visualizing transfers across multiple process stages.

Overview for Blazor Sankey.


Why choose Syncfusion Essential Studio® Blazor Sankey?

Blazor Sankey Interactive image

Get instant detail on hover

Your users see node and link values without a single click—the tooltip cursor surfaces context as they explore the diagram.

Blazor Sankey Rich Feature Set image

Ship without extra configuration

The Blazor Sankey supports legends, orientations, labels, titles, themes, events, printing, and exporting—no third-party add-ons required.

Blazor Sankey Adapts To Any Resolution image

Adapt to any screen size

The layout is fully responsive across desktops, touchscreens, and phones—iOS, Android, and Windows alike.

Blazor Sankey Customizable Themes image

Six built-in themes ready to match your design system

Material 3, Fluent 2, Tailwind CSS, Bootstrap, Material, and Fabric—switch themes without rebuilding your UI.

Blazor Sankey Elegant Animation image

Smooth transitions on every data update

No jank, no manual tweaking—the diagram is animated cleanly as your underlying data changes.


Blazor Sankey Diagram Code Example

Easily get started with the Blazor Sankey Diagram using a few simple lines of C# code as demonstrated below. Also, explore our Blazor Sankey Example, which shows you how to render and configure Sankey in Blazor.

@using Syncfusion.Blazor.Sankey

 <SfSankey Nodes=@Nodes Links=@Links Title="Device Usage">
     <SankeyNodeSettings Width="30" Padding="10"></SankeyNodeSettings>
     <SankeyLinkSettings ColorType="SankeyColorType.Source"></SankeyLinkSettings>
     <SankeyLegendSettings Visible="true" Position="SankeyLegendPosition.Bottom">
 </SfSankey>
 @code {
 
    public List<SankeyDataNode> Nodes = new List<SankeyDataNode>();
    public List<SankeyDataLink> Links = new List<SankeyDataLink>();
 
     protected override void OnInitialized()
     {
         base.OnInitialized();
         Nodes = new List<SankeyDataNode>()
         {
             new SankeyDataNode() { Id = "Female", Label = new SankeyDataLabel() { Text = "Female (58%)" } },
             new SankeyDataNode() { Id = "Male", Label = new SankeyDataLabel() { Text = "Male (42%)" } },
             new SankeyDataNode() { Id = "Tablet", Label = new SankeyDataLabel() { Text = "Tablet (12%)" } },
             new SankeyDataNode() { Id = "Mobile", Label = new SankeyDataLabel() { Text = "Mobile (40%)" } },
             new SankeyDataNode() { Id = "Desktop", Label = new SankeyDataLabel() { Text = "Desktop (48%)" } },
             new SankeyDataNode() { Id = "< 18", Label = new SankeyDataLabel() { Text = "< 18 years (8%)" } },
             new SankeyDataNode() { Id = "18-26", Label = new SankeyDataLabel() { Text = "18-26 years (35%)" } },
             new SankeyDataNode() { Id = "27-40", Label = new SankeyDataLabel() { Text = "27-40 years (38%)" } },
             new SankeyDataNode() { Id = "> 40", Label = new SankeyDataLabel() { Text = "> 40 years (19%)" } }
         };
         Links = new List<SankeyDataLink>()
         {
             new SankeyDataLink() { SourceId = "Female", TargetId = "Tablet", Value = 12 },
             new SankeyDataLink() { SourceId = "Female", TargetId = "Mobile", Value = 14 },
             new SankeyDataLink() { SourceId = "Female", TargetId = "Desktop", Value = 32 },
             new SankeyDataLink() { SourceId = "Male", TargetId = "Mobile", Value = 26 },
             new SankeyDataLink() { SourceId = "Male", TargetId = "Desktop", Value = 16 },
             new SankeyDataLink() { SourceId = "Tablet", TargetId = "< 18", Value = 4 },
             new SankeyDataLink() { SourceId = "Tablet", TargetId = "> 40", Value = 8 },
             new SankeyDataLink() { SourceId = "Mobile", TargetId = "< 18", Value = 4 },
             new SankeyDataLink() { SourceId = "Mobile", TargetId = "18-26", Value = 24 },
             new SankeyDataLink() { SourceId = "Mobile", TargetId = "27-40", Value = 10 },
             new SankeyDataLink() { SourceId = "Mobile", TargetId = "> 40", Value = 2 },
             new SankeyDataLink() { SourceId = "Desktop", TargetId = "18-26", Value = 11 },
             new SankeyDataLink() { SourceId = "Desktop", TargetId = "27-40", Value = 28 },
             new SankeyDataLink() { SourceId = "Desktop", TargetId = "> 40", Value = 9 }
         };
     }
 }

Legend in Blazor Sankey.

Legend

Customize the legend to surface exactly what your users need—node details, positioning, and styling are all yours to control. Hover over a legend entry and the related data flow links highlight automatically.


Tooltips

Sankey Diagram offers options to display tooltips that provide details about the values of nodes and links when the mouse hovers over them.

Tooltip in Blazor Sankey.


Print and export in Blazor Sankey.

Export your Sankey Diagram to PDF, PNG, or JPEG format directly from the client or print it from the browser.


Orientation

Switch between horizontal and vertical orientations to fit your layout and the direction your data naturally flows.

Orientations in Blazor Sankey.


Node labels in Blazor Sankey.

Node labels

Annotate nodes with labels to keep your diagram readable, even as the underlying dataset grows more complex.


Customization

Control node and link colors, label styling, and widths through built-in APIs. Match the diagram to your brand without fighting the default.

Customization in Blazor Sankey.


Accessibility

Keyboard navigation in Blazor Sankey.

Keyboard navigation

Navigate every element, including legend highlights, without touching a mouse.

Accessibility and screen reader support in Blazor Sankey.

Screen reader

Screen readers and other assistive technology work out of the box. The component has full WAI-ARIA support and high-contrast visuals.

Show right-to-left language in Blazor Sankey.

Right to left (RTL)

Render the text and layout from right to left for RTL-language audiences without extra configuration.





Struggling to decide on the right product?

Our comprehensive competitor comparison of Blazor components will guide you to the perfect choice.

tick-mark 145+ UI components
tick-mark 1200+ interactive Blazor demos
tick-mark 9.5M+ downloads
competitive-banner-FT-image

Blazor Components – 145+ UI and DataViz Components

Standalone UI SDKs

Integrate the DataGrid, Chart, Scheduler, Gantt, Rich Text Editor, File Manager, and Diagram UI components into applications to enable rich interaction and visualization, delivering a seamless user experience.

Document Solutions

Integrate the PDF Viewer, DOCX Editor, Spreadsheet Editor, and document-processing libraries into the Blazor applications to enable a smooth user experience.

Frequently Asked Questions

The Blazor Sankey Diagram with a rich set of features offers the following:

  • Visualize and analyze complex flow systems with nodes and links.
  • Simple configuration and APIs.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • Expansive learning resources such as demos and documentation to learn quickly and get started with the Blazor Sankey component.

You can find our Blazor Sankey demo, which demonstrates how to render and configure Sankey Diagram.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion® reduces customers’ development time.
Here are some of their experiences.

Ready to bring your Blazor Sankey diagram to production?

Join 40K+ enterprises already building with Syncfusion.

DOWNLOAD FREE TRIAL

No credit card required | 40K+ downloads

See Real Success Stories

Developers around the world trust Syncfusion’s Essential Studio to simplify complex projects and speed up delivery. With a vast library of UI controls, powerful SDKs, and reliable support, Essential Studio helps teams build enterprise-ready applications with confidence.

Read Our Customer Stories


Rated by users across the globe

Syncfusion Blazor Sankey Resources

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.

Up arrow icon
Syncfusion Feedback