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/
Workflow
Sankey Chart with Echarts example
External resources
Used extensions & nodes
Created with KNIME Analytics Platform version 5.2.0
- Go to item
- Go to item
- Go to item
- Go to item
- Go to item
- Go to item
Legal
By using or downloading the workflow, you agree to our terms and conditions.