Icon

04_​Example_​for_​Pie_​Chart

Pie Chart Examples

In this example, we are building a Pie Chart example using data from the WHO GLOBAL HEALTH OBSERVATORY; you can download the data here
https://www.who.int/data/gho/data/themes/topics/topic-details/GHO/vaccine-preventable-communicable-diseases.
The dataset shows the total cases of four Vaccine-preventable communicable diseases (Diphtheria, Measles, Mumps and Rubella) in 2020 by country, Region and World Bank Income Group.

We use the Pie Chart node from the KNIME Views (Labs). To install this Labs extension, go to 'File > Install KNIME Extensions > KNIME Labs Extensions > KNIME Views (Labs)'.

Creating a professional and well-looking Pie Chart is now easier with the Pie Chart (Labs) node. You can add a Donut Chart and control its size. Also, you can configure the Pie Graph size, the label position and much more. Try it with your own data or the given one within this example workflow.

With the Pie Chart 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.

Pie Chart Visualization In this example, we are building a Pie Chart example using data from the WHO GLOBAL HEALTH OBSERVATORY; you can download the data here https://www.who.int/data/gho/data/themes/topics/topic-details/GHO/vaccine-preventable-communicable-diseases. Data shows total cases for four Vaccine-preventable communicable diseases (Diphtheria, Measles, Mumps and Rubella) in 2020 by country, Region and World Bank Income Group. For further workflow details, please refer to the workflow description. 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 - Pie Chart size and Donut (with custom size) - Label position outside Interactivity - Show tooltip - Enable Animation - Enable download - Publish and subscribe selection Flow Variable Version Right-click > Configure Flow Variables... In the example, we control some plot and interactivity options with boolean flow variables (enable: true or false). Data App Execute it and Right-click > click on Interactive view... With a Single selection and a Nominal Value filter Widgets, we are dynamically visualising diseases distribution by Geo Granularity and disease type Standard ConfigurationFiltering by Granularity:CountryCalculating the domainrange of all the string columnsWHO vaccinepreventable diseasesdatasetEnriched configurationBoolean variablesto configure Pie Chart Enriched configuraitonoverwritten by Flow variables Workflow DataArea Connector Pie Chart (Labs) Nominal ValueRow Filter Domain Calculator Table Reader Pie Chart (Labs) Variable Creator Pie Chart (Labs) Pie Chart ina Data App Pie Chart Visualization In this example, we are building a Pie Chart example using data from the WHO GLOBAL HEALTH OBSERVATORY; you can download the data here https://www.who.int/data/gho/data/themes/topics/topic-details/GHO/vaccine-preventable-communicable-diseases. Data shows total cases for four Vaccine-preventable communicable diseases (Diphtheria, Measles, Mumps and Rubella) in 2020 by country, Region and World Bank Income Group. For further workflow details, please refer to the workflow description. 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 - Pie Chart size and Donut (with custom size) - Label position outside Interactivity - Show tooltip - Enable Animation - Enable download - Publish and subscribe selection Flow Variable Version Right-click > Configure Flow Variables... In the example, we control some plot and interactivity options with boolean flow variables (enable: true or false). Data App Execute it and Right-click > click on Interactive view... With a Single selection and a Nominal Value filter Widgets, we are dynamically visualising diseases distribution by Geo Granularity and disease type Standard ConfigurationFiltering by Granularity:CountryCalculating the domainrange of all the string columnsWHO vaccinepreventable diseasesdatasetEnriched configurationBoolean variablesto configure Pie Chart Enriched configuraitonoverwritten by Flow variables Workflow DataArea Connector Pie Chart (Labs) Nominal ValueRow Filter Domain Calculator Table Reader Pie Chart (Labs) Variable Creator Pie Chart (Labs) Pie Chart ina Data App

Nodes

Extensions

Links