{"title":"Density Plot","nodeType":"Visualizer","id":"*exTDi-7-kc6kZ2qj","factoryName":"org.knime.base.views.node.densityplot.DensityPlotNodeFactory","factoryId":"org.knime.base.views.node.densityplot.DensityPlotNodeFactory","path":["Views"],"owner":"knime","ownerAccountId":"account:team:b5f0848f-496d-4e6a-b869-fa3532248db7","description":"<p>The view can be accessed either via the “Open view” action on the executed node or on KNIME Hub.\n <br />\n In the node configuration, you can enable certain controls, which are then available in the view. This includes the ability to choose a dimension column and a condition column or the possibility to set a title.\n <br />\n The configuration also offers a preview of the view, which should help to get the density plot in the desired shape quickly.\n <br />\n <br />\n Missing as well as NaN (not a number) values in the dimension column are ignored. If a condition column is chosen, a category is ignored when all corresponding cells in the dimension column are ignored. The density is computed via kernel density estimation with a gaussian kernel. The bandwidth for the kernel can either be set to a specific value or computed with Scott&#39;s rule of thumb (see R&#39;s <a href=\"https://www.rdocumentation.org/packages/stats/versions/3.6.2/topics/bandwidth\" rel=\"ugc nofollow noopener noreferrer\">bw.nrd</a> ).</p>\n        ","shortDescription":"A density plot visualization node.","keywords":["visualization","views","chart","plot","kernel plot","density graph"],"deprecated":false,"streamable":false,"tags":["Views"],"icon":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE/SURBVHgBpZM7S8NQGIZfi4FkqwFpTRdrHKpRqFiESO1/KN6KgxZcvBQU/4mgY0xXxclCbceIYBZzMikY9zqpdUomzTliIbYlKX3hDN8H5znPuaGwrH4PkxhC0qjX2eiXWNjkalVHo9nEUaUyOEC/0FBcL6G4UUL7qw2bWNEBr84LXM9DUpJYnVHmcX15FR1gExvpKblTLyzmQAYxINYjMrNznZoXBHAcx8wiG0ykpEBvUp72+yQcQA9rPJFAfEwM9JNSyjdwwgG3/vVl/T3/z4yi+OcQYkBXME0TaVnuAlAjz3UD1xkA6JqGw/09bG2Xu/T/ks0twbZIEECJm2urMAwDB8cnbK/9ouZXUKvd4K3VYvUI/UxxUWQvrpd2rzzc38F5fsLp2TlGaYOuyvMCokbNF/D5/oHd8s6vAYbIDw4Xp7kIt9sNAAAAAElFTkSuQmCC","views":[{"name":"Density Plot","description":"A density plot visualization of the input data."}],"inPorts":[{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Input Table","description":"Data table containing the dimension and condition column to be plotted in a density plot."}],"outPorts":[],"dynInPorts":[],"dynOutPorts":[{"groupName":"Output Image","groupDescription":"Rendered PNG image.","types":[{"objectClass":"org.knime.core.node.port.image.ImagePortObject","color":"41be78","dataType":"Image"}]}],"additionalSiteInformation":{"url":"https://update.knime.com/analytics-platform/5.12","trusted":true,"enabledByDefault":true,"name":"KNIME Analytics Platform 5.12 Update Site","version":"5.12.0"},"dialog":[{"sectionName":"Options","fields":[{"name":"Dimension column","description":"Select the column with numerical values for which you wish to plot a density. Note: Missing and NaN (not a number) values will be ignored.","optional":false},{"name":"Condition column","description":"Select the column with respect to which you want to plot conditional densities. The values of the selected column are treated as categories. Note: Also missing values are treated as a separate category.","optional":false},{"name":"Title","description":"The title of the graph shown above the generated image. If left blank, no title will be shown.","optional":false},{"name":"Kernel bandwidth","description":"The bandwidth of the gaussian kernel used for the density estimation can be configured here. If “Rule of thumb” is selected, the bandwidth is computed with bw &#61; 1.06 * min(std, IQR/1.34) * n^(-1/5), where std is the sample standard deviation, IQR is the interquartile range and n is the number of observations (see R&#39;s <a href=\"https://www.rdocumentation.org/packages/stats/versions/3.6.2/topics/bandwidth\" rel=\"ugc nofollow noopener noreferrer\">bw.nrd</a> ). Alternatively, it is possible to set a fixed kernel bandwidth.","optional":false},{"name":"Adjustment factor","description":"The kernel bandwidth computed by the rule of thumb is multiplied by this adjustment factor. Setting the adjustment factor is only possible if the kernel bandwidth is selected as “Rule of thumb”. The larger this value is the smoother the curve in the plot.","optional":false},{"name":"Custom bandwidth","description":"Choose the bandwidth of the gaussian kernel. Setting the custom bandwidth is only possible if the kernel bandwidth is selected as “Fixed”. The larger this value is the smoother the curve in the plot.","optional":false},{"name":"Dimension axis limits","description":"Choose if the dimension axis range should be calculated automatically, taken from the domain range or set manually. If “Automatic” is selected the axis ranges from (min - 3 * bw) to (max &#43; 3 * bw) where min and max are the minimum and maximum values of the data and bw is the selected bandwidth. If you select “Domain bounds”, you might need to use a Domain calculator or Edit Numeric Domain node before this node.","optional":false},{"name":"Horizontal min","description":"Value that sets the horizontal axis minimum.","optional":false},{"name":"Horizontal max","description":"Value that sets the horizontal axis maximum.","optional":false},{"name":"Custom dimension axis label","description":"The label used for the horizontal dimension axis. If the checkbox is deactivated, the label will correspond to the selected dimension. If activated and left blank, no label will be shown.","optional":false},{"name":"Density axis label","description":"The label used for the vertical value axis. If left blank, no label will be shown.","optional":false},{"name":"Line thickness","description":"Numeric value that defines the line size.","optional":false},{"name":"Fill area","description":"When checked, the area under the curve is filled. This setting is only available when there is no condition column selected.","optional":false},{"name":"Display legend","description":"When checked, the chart’s legend containing the categories of the condition column is displayed.","optional":false},{"name":"Enable image download","description":"When checked, an image of the chart can be downloaded by clicking the image download button in the view.","optional":false},{"name":"Show tooltip","description":"When checked, hovering over a box will show information about the data.","optional":false},{"name":"Enable animation","description":"When checked, the animation of the graph is active.","optional":false},{"name":"Generate image","description":"If checked, adds an image output port and, upon execution, generates an image which is made available via this port.","optional":false},{"name":"Image type (SVG, PNG)","description":"Choose between the superior quality provided by SVG vector graphics and the better performance of the PNG raster images. SVG graphics are sharp, also when zoomed, and text labels within the graphic can be searched for. On the other hand, PNG images can be smaller and render faster when there are many data points, for example, in a scatter plot.","optional":false},{"name":"Width","description":"The width of the generated image (in pixels).","optional":false},{"name":"Height","description":"The height of the generated image (in pixels).","optional":false}]}],"links":[],"kudos":[],"kudosCount":0,"bundleInformation":{"bundleVersion":"5.12.0.v202606171319","bundleName":"KNIME Views","bundleSymbolicName":"org.knime.base.views","bundleVendor":"KNIME AG, Zurich, Switzerland","featureSymbolicName":"org.knime.features.base.views","featureName":"KNIME Views","featureVersion":"5.12.0.v202606171319","featureVendor":"KNIME AG, Zurich, Switzerland","extensionId":"*XblED90jBdonqzRg"},"frequentSuccessors":[]}
