Icon

04_​Example_​for_​JS_​Bar_​Chart

Bar Chart Examples
This workflow demonstrates different ways to use the Bar Chart node. Bar Chart - Group mean- Plot means of numerical attributes for each group of a categorical variable- Other available options - Occurence count - Sum Bar Chart - Custom colors - Use Color manager node to assign custom colors to the numeric attributes Bar Chart - Stacked- Same as group mean, but means of numerical attributes are stacked on top of each other instead of next to each other Bar Chart - Horizontal bars- Bars can also be plotted horizontally instead of vertically- This example also uses group sum instead of mean Bar Chart - Overall statistics- JS Bar Chart node needs group column- To plot overall statistics, a constant value column needs to be added Group meanGet columnnamesCreate columnwith columnnamesConfigure colorsfor each columnGrouped chartwith customcolorsStackedHorizontal,SumAdd columnwith same value for each rowOverallmean Table Reader Bar Chart ExtractColumn Header Transpose Color Manager Bar Chart Bar Chart Bar Chart ConstantValue Column Bar Chart This workflow demonstrates different ways to use the Bar Chart node. Bar Chart - Group mean- Plot means of numerical attributes for each group of a categorical variable- Other available options - Occurence count - Sum Bar Chart - Custom colors - Use Color manager node to assign custom colors to the numeric attributes Bar Chart - Stacked- Same as group mean, but means of numerical attributes are stacked on top of each other instead of next to each other Bar Chart - Horizontal bars- Bars can also be plotted horizontally instead of vertically- This example also uses group sum instead of mean Bar Chart - Overall statistics- JS Bar Chart node needs group column- To plot overall statistics, a constant value column needs to be added Group meanGet columnnamesCreate columnwith columnnamesConfigure colorsfor each columnGrouped chartwith customcolorsStackedHorizontal,SumAdd columnwith same value for each rowOverallmean Table Reader Bar Chart ExtractColumn Header Transpose Color Manager Bar Chart Bar Chart Bar Chart ConstantValue Column Bar Chart

Nodes

Extensions

Links