Search
K
Comment on page

Sankey Chart

In this article, we will explain how to create and customize a sankey chart. So let's get started!
A Sankey chart is a type of flowchart that visualizes the flow of data between different stages or categories. It is typically used to show the flow of resources, information, or energy between different systems or processes.
Here is an example of a Sankey chart with sample data:
This Sankey chart shows the flow of energy, information, and resources between different categories. The width of the arrows represents the magnitude of the flow, and the colors of the arrows represent the different categories.
Sample data:
Category
Subcategory
Value
Energy
Renewable
50,000
Energy
Non-renewable
100,000
Information
Incoming
75,000
Information
Outgoing
25,000
Resources
Imported
60,000
Resources
Exported
40,000

How-to build a Sankey chart?

  1. 1.
    Navigate to Add New Chart screen
  2. 2.
    Select data source
  3. 3.
  4. 4.
    Configure and customize the chart to create the desired visualization.

Sankey chart configuration:

1) To build a Sankey chart, you will need at least three data fields:
  • Source: This field represents the starting point or category of the flow of data.
  • Destination: This field represents the ending point or category of the flow of data.
  • Weight: This field represents the quantity or magnitude of the flow of data between the source and target categories.
The configuration shown illustrates how to map the sample data(shown above) to generate the Sankey chart.
2) To customize the appearance of an area chart, follow these steps:
  1. 1.
    Click on the "Customize" tab
  2. 2.
    Go to "Link" or "Node" accordions
  3. 3.
    Select the desired customization options, such as link color mode, stroke color, node fonts, interactivity and more
This allows you to tailor the appearance of the chart to your specific needs and preferences. You can customize a variety of options to create a chart that effectively communicates your data and insights.
Sankey charts are often used to visualize the flow of data between different stages or categories. They can be particularly useful for showing the relationships between different data points and for identifying patterns and trends in the data.
There are a few useful tips to keep in mind when using Sankey charts:
  1. 1.
    Make sure to clearly label the chart and include a descriptive title.
  2. 2.
    Use a clear and readable font for the labels and axis ticks to make it easier for readers to understand the chart.
  3. 3.
    Use a meaningful scale for the width of the arrows. This helps to emphasize the most important data points and makes it easier for readers to understand the magnitude of the data.
  4. 4.
    Use colors and patterns effectively to differentiate between different data points and to make the chart more visually appealing

Sankey chart customization options:

Infinity offers many customization options for your chart. To access these options, click on the customize tab in the chart builder screen. This will display a list of customization options.
Here is a list of notable customization options for the line chart.
Feature
Description
Aggregation
To create an aggregation, click on the data series chip in the data mapping section and choose the desired aggregation.
There are various aggregation options available based on the data type.
Renaming the Data Series
To rename a data series, click on the data series chip in the data mapping section. A pop-up will appear, allowing you to change the name and any aggregation options.
Chart Background
To change the chart background, follow these steps:
  • Click on the customization tab.
  • Click on the chart background.
  • Proceed to selecting the desired color.