Icon

JKISeason2-28_​tark

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

Challenge 28: Funnel Plotting with Plotly
Level: Medium

Description: In this challenge you will play the role of data analyst trying to create a Stacked Funnel Plot from Plotly. While KNIME has many Plotly Plots through its KNIME Plotly extension, you could not find a funnel plot -- use the Python View node to create this type of visualization and show it off in KNIME! Hint: If you want, copy the code from the Plotly link above (e.g., the code for the "Stacked Funnel Plot with go.Funnel" plot) into the Python View node. Be sure to add this line after copy-pasting from the Plotly site: import knime.scripting.io as knio. Be sure to remove the line fig.show() as well. Finally, add this line to the very end of your code: knio.output_view = knio.view(fig).

If you would like to take this challenge from Medium to Hard, try creating your own data with the Table Creator node and passing it to at least one of the axis' variables in the Funnel Plot.

Author: Victor Palacios

URL: JKISeason2-28 https://www.knime.com/just-knime-it

For the code used in the python node, see StackedFunnel Plot with go.Funnel cited in the URL below.https://plotly.com/python/funnel-charts/The following lines were added to the end of the code.import knime.scripting.io as knioknio.output_view = knio.view(fig) Node 1Python View For the code used in the python node, see StackedFunnel Plot with go.Funnel cited in the URL below.https://plotly.com/python/funnel-charts/The following lines were added to the end of the code.import knime.scripting.io as knioknio.output_view = knio.view(fig) Node 1Python View

Nodes

  • Python View1 ×

Extensions

  • No modules found

Links