Skip to main content
Glama
VisActor
by VisActor

generate_sankey_chart

Visualize flow relationships in complex networks by creating a Sankey diagram. Input source, target, and value fields to display distribution and paths, with customizable themes, dimensions, and output formats.

Instructions

Generate a Sankey diagram to visualize the flow relationships between nodes in complex networks, suitable for displaying the distribution and flow paths of source and target data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
backgroundNoChart background color (hex). Optional, defaults to white.
chartThemeNoChart theme. Optional, defaults to 'light'.
colorsNoColor palette for chart elements.
dataTableYesData for the Sankey diagram, e.g., [{ category: 'category 01', value: 10 }].
heightNoChart height. Optional, defaults to 500.
outputNoChart output type. Defaults to 'image'.image
sourceFieldYesThe source field in the Sankey diagram; must exist in the data.
subTitleNoChart subtitle text.
targetFieldYesThe target field in the Sankey diagram; must exist in the data.
titleNoChart title text.
titleOrientNoTitle position in the chart.
valueFieldYesMeasure field. Must be numeric and exist in the data.
widthNoChart width. Optional, defaults to 500.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/VisActor/vchart-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server