Icon

Sankey Chart with Echarts example

There has been no title set for this workflow's metadata.

This workflow showcases different ways to utilize the "Generic Echarts View" node. The "Generic Echarts View" node can be found in the node repository under the KNIME Views category.

You can easily download and run the workflow directly in your KNIME installation. We recommend that you use the latest version of the KNIME Analytics Platform for optimal performance. It can also be deployed as a Data App in KNIME Business Hub.

The "Generic Echarts View" node is a particular view node because it allows creating a custom visualization from scratch using Apache ECharts and JavaScript by configuring the option object.

The configuration dialogue of the node includes an AI prompt, which allows even those without coding experience to modify base code from the Apache Echarts examples gallery. Using prompts such as "Add a tooltip to my chart," users can easily change the code.

We have used the "Carbon Billionaires: The Investment Emissions of the World's Richest People" dataset from Oxfam as our input data for this example. If you want to explore the dataset and the paper, you can find them by following the "External resources" link.

We started by selecting the Sankey Chart template from the "Echarts Templates" in the configuration dialogue to create a Sankey chart. After adding the code, a basic Sankey diagram was generated using the input data.

Next, we used the AI box prompts to add a title, tooltip, and additional step to the Sankey Chart.

Also, we have included a data app example in the workflow using Widgets nodes. You can view it on your Local Machine or execute it in the KNIME Business Hub.

Dataset source:

Maitland, Alex, Lawson, Max, Stroot, Hilde, Poidatz, Alexandre, Khalfan, Ashfaq, Dabi, Nafkote. (2022). "Carbon Billionaires: The investment emissions of the world’s richest people". https://policy-practice.oxfam.org/resources/carbon-billionaires-the-investment-emissions-of-the-worlds-richest-people-621446/

URL: Carbon Billionaires: Methodology Note https://oxfamilibrary.openrepository.com/bitstream/handle/10546/621446/mn_carbon-billionaires-071122-en.pdf;jsessionid=2E554C7C3A9394F43D28117AE0065C36?sequence=16
URL: Download the dataset https://oxfamilibrary.openrepository.com/bitstream/10546/621446/3/Dataset%20for%20carbon%20billionaires%20investment%20emissions%202022.xlsx
URL: Paper from Oxfam: "Carbon billionaires The investment emissions of the world’s richest people" https://oxfamilibrary.openrepository.com/bitstream/handle/10546/621446/bn-carbon-billlionaires-071122-en.pdf

Nodes

Extensions

Links