Icon

05_​Example_​for_​Scatter_​Plot

Scatter Plot Examples

In this example, the Scatter Plot (Labs) is used to visualise data from the UN's Human Development Report 2021/22.
The data is available following this link: https://hdr.undp.org/data-center/human-development-index#/indicies/HDI.

We use the Scatter Plot node from the KNIME Views (Labs) to make the Scatter Plot graph. To install this Labs extension, go to 'File > Install KNIME Extensions > KNIME Labs Extensions > KNIME Views (Labs)'.

Life expectancy at birth (years) and Gross National Income per capita (GNI) are displayed in the Scatter Plot axis, giving an overview of all the countries, to find relationships between this two indicators.
For example purposes, we have created a small dataset in which we have grouped data by Country, Region, and Human Development Rate for all the countries for the 2021 elaboration.

With the Scatter Plot node from KNIME Views (Labs), you can double-click and configure your chart, then click 'save and execute' and see the results without leaving the configuration window.

We have created a component example in the workflow with widgets. You can visualise it on your Local Machine or execute it in the KNIME Business Hub.
Definitely, it's a fancier and more updated visualisation node. If you include it within KNIME components, you can build professional dashboards.


Scatter Plot Visualization In this example, the Scatter Plot (Labs) is used to visualize data from the UN's Human Development Report 2021/22. The data is available following this link: https://hdr.undp.org/data-center/human-development-index#/indicies/HDI. Life expectancy at birth (years) and Gross National Income per capita (GNI) are displayed in the Scatter Plot axis, giving an overview of all the countries. For further details about the workflow, click View > Description. Standard Configuration Double-click the node to open the configuration window. Save and execute to see your changes directly there. To apply and save your changes, click OK. Enriched configuration Plot - Added Title and axis labels Interactivity - Show tooltip - Enable Animation - Enable download - Publish and subscribe selection Flow Variable Version Right-click > Configure Flow Variables... In the example, we added a reference line to the Scatter Plot, the average Life expectancy has been previously calculated and passed as a Flow variable. Data App Execute it and Right-click > click on Interactive view... We use a Rule Engine node to create a Granularity column, then with a Nominal Value filter Widget, we can filter by country, region or human development rate group. UNDP (United Nations Development Programme) Human Development Report 2021/2022.Enriched ConfigurationInject VariableCalculate AverageStandard SettingsReference line as a Flow variable Table Reader Workflow DataArea Connector Scatter Plot (Labs) Table Rowto Variable GroupBy RowID Scatter Plot (Labs) Scatter Plot (Labs) Scatter Plotin a Data App Scatter Plot Visualization In this example, the Scatter Plot (Labs) is used to visualize data from the UN's Human Development Report 2021/22. The data is available following this link: https://hdr.undp.org/data-center/human-development-index#/indicies/HDI. Life expectancy at birth (years) and Gross National Income per capita (GNI) are displayed in the Scatter Plot axis, giving an overview of all the countries. For further details about the workflow, click View > Description. Standard Configuration Double-click the node to open the configuration window. Save and execute to see your changes directly there. To apply and save your changes, click OK. Enriched configuration Plot - Added Title and axis labels Interactivity - Show tooltip - Enable Animation - Enable download - Publish and subscribe selection Flow Variable Version Right-click > Configure Flow Variables... In the example, we added a reference line to the Scatter Plot, the average Life expectancy has been previously calculated and passed as a Flow variable. Data App Execute it and Right-click > click on Interactive view... We use a Rule Engine node to create a Granularity column, then with a Nominal Value filter Widget, we can filter by country, region or human development rate group. UNDP (United Nations Development Programme) Human Development Report 2021/2022.Enriched ConfigurationInject VariableCalculate AverageStandard SettingsReference line as a Flow variable Table Reader Workflow DataArea Connector Scatter Plot (Labs) Table Rowto Variable GroupBy RowID Scatter Plot (Labs) Scatter Plot (Labs) Scatter Plotin a Data App

Nodes

Extensions

Links