Syncfusion Feedback

Trusted by the world’s leading companies

syncfusion trusted companies

Overview

The Angular Sankey Diagram is a flow-based visualization that represents quantities proportionally, emphasizing the transfer or movement between different stages of a process. It is an ideal solution for illustrating complex systems, energy distributions, or any workflow involving transitions between steps.


Why choose the Syncfusion Angular Sankey Diagram?

Angular Sankey Interactive image

Interactive Sankey Diagram

With an interactive tooltip cursor, users can explore the Sankey Diagram and view detailed information about individual nodes and connecting links.

Angular Sankey Rich Feature Set image

Comprehensive feature set

The Angular Sankey Diagram includes support for legends, multiple orientations, labels, titles, themes, events, customizable nodes and links, along with printing and exporting capabilities.

Angular Sankey Adapts To Any Resolution image

Responsive across all devices

The Sankey Diagram offers a fully responsive layout with an optimized design for desktops, tablets, and mobile devices. It performs seamlessly on iOS, Android, and Windows-based platforms.

Angular Sankey Customizable Themes image

Visually appealing, customizable themes

Choose from modern, built-in themes such as Material 3, Fluent 2, Tailwind CSS, Bootstrap, Material, and Fabric to match your application’s design language.

Angular Sankey Elegant Animation image

Smooth and elegant animation

The Sankey Diagram features fluid animations that enhance data presentation with smooth and visually appealing transitions.


Angular Sankey Diagram code example

Get started quickly with the Angular Sankey Diagram using just a few lines of HTML and TS code. You can also explore our Angular Sankey example to see how the component can be rendered and customized.

<ejs-sankey
      id="sankey"
      title="Device Usage"
      [nodeStyle]="nodeStyle"
      [linkStyle]="linkStyle"
      [legendSettings]="legendSettings">

      <e-sankey-nodes>
          <e-sankey-node id="Female" :label="{ text: 'Female (58%)' }" />
          <e-sankey-node id="Male" :label="{ text: 'Male (42%)' }" />
          <e-sankey-node id="Tablet" :label="{ text: 'Tablet (12%)' }" />
          <e-sankey-node id="Mobile" :label="{ text: 'Mobile (40%)' }" />
          <e-sankey-node id="Desktop" :label="{ text: 'Desktop (48%)' }" />
          <e-sankey-node id="< 18" :label="{ text: '< 18 years (8%)' }" />
          <e-sankey-node id="18-26" :label="{ text: '18-26 years (35%)' }" />
          <e-sankey-node id="27-40" :label="{ text: '27-40 years (38%)' }" />
          <e-sankey-node id="> 40" :label="{ text: '> 40 years (19%)' }" />
      </e-sankey-nodes>

      <e-sankey-links>
          <e-sankey-link source-id="Female" target-id="Tablet" :value="12" />
          <e-sankey-link source-id="Female" target-id="Mobile" :value="14" />
          <e-sankey-link source-id="Female" target-id="Desktop" :value="32" />
          <e-sankey-link source-id="Male" target-id="Mobile" :value="26" />
          <e-sankey-link source-id="Male" target-id="Desktop" :value="16" />
          <e-sankey-link source-id="Tablet" target-id="< 18" :value="4" />
          <e-sankey-link source-id="Tablet" target-id="> 40" :value="8" />
          <e-sankey-link source-id="Mobile" target-id="< 18" :value="4" />
          <e-sankey-link source-id="Mobile" target-id="18-26" :value="24" />
          <e-sankey-link source-id="Mobile" target-id="27-40" :value="10" />
          <e-sankey-link source-id="Mobile" target-id="> 40" :value="2" />
          <e-sankey-link source-id="Desktop" target-id="18-26" :value="11" />
          <e-sankey-link source-id="Desktop" target-id="27-40" :value="28" />
          <e-sankey-link source-id="Desktop" target-id="> 40" :value="9" />
      </e-sankey-links>
      
</ejs-sankey>
//app.component.ts
import { Component } from '@angular/core';
export class AppComponent {
  public legendSettings: Object = {
      visible: true,
      position: 'Bottom'
  }; 
  public linkStyle: Object = {
      colorType: 'Source'
  };
  public nodeStyle: Object = { 
      width: 30, 
      padding: 10 
  };
}

//app.module.ts
import { SankeyAllModule } from '@syncfusion/ej2-ng-charts';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    SankeyAllModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

Legend in Angular Sankey Diagram.

Legend

The Angular Sankey Diagram supports fully customizable legends that provide additional context for nodes. When hovering over a legend item, the associated data flow links are automatically highlighted.


Tooltips

The Sankey Diagram includes tooltip support to display detailed information about node and link values when users hover over them.

Tooltip in Angular Sankey Diagram.


Print and export in Angular Sankey Diagram.

Export the Angular Sankey Diagram as PDF files or image formats such as PNG and JPEG directly on the client side. The diagram can also be printed straight from the browser.


Orientation

The Sankey Diagram supports both horizontal and vertical orientations, offering flexibility to visualize data according to layout preferences and flow direction.

Orientations in Angular Sankey Diagram.


Node labels in Angular Sankey Diagram.

Node labels

Node labels can be enabled to display descriptive information, improving readability and making the visualization easier to understand.


Customization

Built-in APIs allow customization of node widths, colors, link styles, and labels, enabling the Sankey Diagram to align perfectly with your design requirements.

Customization in Angular Sankey Diagram.


Accessibility

Keyboard navigation in Angular Sankey Diagram.

Keyboard navigation

All elements in the Sankey Diagram are fully accessible via keyboard navigation. Key features such as legend highlighting can be operated without a mouse, ensuring an inclusive user experience.

Accessibility and screen reader support in Angular Sankey Diagram.

Screen readers

The Sankey Diagram provides complete WAI-ARIA compliance, making it compatible with screen readers and other assistive technologies. High-contrast visuals and meaningful UI descriptions enhance usability for users with low vision.

Show right-to-left language in Angular Sankey Diagram.

Right-to-left (RTL) support

RTL rendering enables the Sankey Diagram to display text and layout from right to left, improving accessibility and usability for languages that follow RTL reading patterns.




145+ ANGULAR UI COMPONENTS

Frequently Asked Questions

With the Syncfusion Angular Sankey Diagram component, you can:

  • Visualize and analyze complex flow systems with nodes and links.
  • Implement one of the best Angular Sankey Diagram components on the market.
  • Enjoy simple configuration and APIs.
  • Deploy confidently to all modern browsers.
  • Implement a touch-friendly and responsive component.
  • Take advantage of expansive learning resources such as demos and documentation to get started quickly.

You can find our Angular Sankey demo here, which demonstrates how to render and configure the 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.

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

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

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