echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] Implementing examples from library to knime

Open Rustam666 opened this issue 1 year ago • 1 comments

What problem does this feature solve?

Hi, I'm trying to implement tree map example (https://echarts.apache.org/examples/en/editor.html?c=tree-basic) in Knime. I would kindly ask you to provide a guide if it's possible how to do it.
Screenshot 2024-04-25 164622

What does the proposed API look like?

rewweq

Rustam666 avatar Apr 25 '24 14:04 Rustam666

Hey,

This probably is more of a KNIME questions than an ECharts questions, so I guess the better place for this question would be the knime forum. Anyway, let me give you an example on how to create the same result as in the example you mentioned. I attached the workflow I used in order to recreate the behaviour. It is probably a nice starting point if you want to adapt it to your use cases.

image

It makes a request to fetch the data used in the ECharts example and makes use of this data in the script that you already provided. The most challenging part to adapt it to your use cases is likely to get your data into the correct format. KNIME offers some really nice data manipulation feature to help you with that and with the addition of the AI Assistant it is probably even easier. There is also an AI Assistant in the Generic ECharts node itself that can help you to create the tree visualisation.

EchartsTreeExample.knwf.zip

Hope that this helps.

Greetings, Daniel

DanielBogenrieder avatar Apr 26 '24 12:04 DanielBogenrieder