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
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.