Icon

03 Explore Data with Bar Chart and Line Plot

<p><strong>Explore Data: 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><em>Color Manager</em></strong>;</p></li><li><p>Use a<strong> <em>Bar Chart</em></strong> and a <strong><em>Line Plot</em></strong> to analyze the sales of companies across years using custom colors.</p></li></ul>

URL: KNIME Learning Center https://www.knime.com/learning
URL: KNIME Cheat Sheet: Building a KNIME workflow for beginners https://www.knime.com/cheat-sheets/building-knime-workflow-beginners
URL: KNIME Cheat Sheet: Data visualization with KNIME Analytics Platform https://www.knime.com/files/data_visualization_with_knime.pdf
URL: KNIME Blog: Data visualization 101: 5 easy plots & charts 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 node


Step 1: Click on the "Line Plot" node to open the configuration window.

Step 2: Set a category column for the horizontal dimension ("Company Name") and include the numeric column(s) for the vertical dimension ("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 node

Step 1: Click on the "Bar Chart" node to open the configuration window.

Step 2: Set the category dimension to "Company Name". No aggregation.

Step 3: Under "Plot", set the "Bar groups" to "Category values".

Step 4: Click "Apply and Execute".

Color the columns using a Color Manager node

Step 1: Click on the node to open the configuration window.

Step 2: In the "Color Setting" tab, under "Color by" option, select the "<Column Names>" option.

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

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

Explore Data: Bar Chart and Line Plot


This workflow demonstrates how to:

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

  • Use aBar 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