Icon

03 Explore Bar Chart and Line Plot

<p><strong>Explore Bar Chart and Line Plot</strong></p><p>This workflow demonstrates how to</p><ul><li><p>apply custom colors to our data using a <strong>Color Manager</strong>;</p></li><li><p>use a<strong> Bar Chart</strong> and a <strong>Line Plot</strong> to analyze the sales of companies across years using custom colors.</p></li></ul>

URL: How to Assign Colors to Bars in a Bar Chart – Three Shades of Green - KNIME Blog https://www.knime.com/blog/how-to-assign-colors-to-bars-in-bar-chart
URL: KNIME Cheat Sheet : Building a KNIME Workflow for Beginners https://www.knime.com/sites/default/files/2021-07/CheatSheet_Beginner_A3.pdf
URL: KNIME Self Paced Course https://www.knime.com/knime-self-paced-courses
URL: Data Visualization 101: Five Easy Plots to Get to Know Your Data - KNIME Blog https://www.knime.com/blog/data-visualizaton-101-five-easy-plots-to-get-to-know-your-data

Visualize sales trends across different years using a Line Plot


Step 1:Double Click on the Line Plot node to open the dialog box.

Step 2: Select the category column as "Company name" for x-axis and numeric column "Sales in 2007" and "Sales in 2008".

Step 3: Click ''Apply and Execute''.

Visualize sales across companies during 2007 and 2008 using a Bar Chart

Step 1: Double-click the node to open the dialog box.

Step 2: Select the category dimension as "Company Name". No aggregation.

Step 3: Plot > Bar groups: select "Category values"

Step 4: Click "Apply and Execute".

Color Manager — "Color by Column Names"

Step 1:Double-click on the node to the open dialog box.

Step 2: Select Color by: ''Column Names".

Step 3:Assign colors to "Sales in 2007" and "Sales in 2008''.

Step 4: Click "OK" and execute the node.

Explore Bar Chart and Line Plot


This workflow demonstrates how to

  • apply custom colors to our data using a Color Manager;

  • use a Bar Chart and a Line Plot to analyze the sales of companies across years using custom colors.

Workflow complete!

Keep the momentum going by exploring Just KNIME It!on the Hub to challenge yourself and see how these nodes can be integrated into more complex workflows and use cases.

Comparing year-wisesales trends by companies
Line Plot
Sales data for2007 & 2008
Table Creator
Assign colorto columns
Color Manager
Comparing sales byyears and company
Bar Chart

Nodes

Extensions

Links