Hub
Pricing About
ComponentComponent

Percentage stacked barcharts

ashokharnal profile image
Draft Latest edits on 
Feb 11, 2022 4:05 AM
Drag & drop
Like
Use or download
Given a categorical column and multiple numeric columns, this component creates a percentage stacked bar chart. Data frame is grouped on categorical column and group-wise mean of values under each numeric individual column are taken. Here is an example with 't' as target: data: t c1 c2 a 10 20 a 20 30 b 5 10 b 15 20 Group-wise mean of data: t c1 c2 a 15 25 b 10 15 Data is then normalized row-wise to get percentages, as: t c1 c2 a 0.375 0.625 b 0.4 0.6 For each value of the target column, a stacked bar chart is plotted. The component uses python 'base' environment.

Component details

Input ports
  1. Type: Table
    Input
    Input your dataframe here
Output ports
  1. Type: Image
    output_img
    Output image of stacked bar chart

Used extensions & nodes

Created with KNIME Analytics Platform version 4.5.1
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.1

    knime
  • Go to item
    KNIME Python Integration

    KNIME AG, Zurich, Switzerland

    Version 4.5.1

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.0

    knime

This component does not have nodes, extensions, nested components and related workflows

Legal

By using or downloading the component, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits