Skip to content

Native Sankey Chart Support in ApexCharts #5066

@praveen5959

Description

@praveen5959

Summary

It would be great to have built-in support for Sankey diagrams in ApexCharts to visualize flow-based data, such as user journeys, traffic, energy, or resource distribution.

API Changes

chart: {
  type: 'sankey'
},
series: [{
  data: [
    { from: 'Website', to: 'Signup', flow: 120 },
    { from: 'Signup', to: 'Trial', flow: 80 },
    { from: 'Trial', to: 'Paid', flow: 50 },
    { from: 'Trial', to: 'Churned', flow: 30 }
  ]
}]

Intended Use Case

  • Helps visualize directional flow of data with weighted connections.
  • Common in analytics, finance, network monitoring, and sustainability dashboards.
  • Currently, users rely on external libraries (e.g., Chart.js plugins or D3), which breaks the native ApexCharts integration and theming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions