# bar chart with two variables

Hi all!
I really need some help How do you make a bar chart with two variables, one in each axe and at the same time being able to see the how respondents answered whatâ€¦ haha If it makes any sense?

E.g. I have a group of 166 respondents and two ordinal variables. I want to make a barchart showing their responses.

I really hope you can help me!
Thanks,
Anne-Sofie

Hello @AnneSofie1234,

and welcome to KNIME Community!

Check out this workflow example from KNIME Hub on how to create various Bar Charts:

If youâ€™ll still have troubles or do not find what you are looking for come back, possibly share some data and weâ€™ll try to figure it out.

Br,
Ivan

1 Like

Hi, thank you so much for the quick response!
IÂ´m still having a little trouble - can I send you the data set Iâ€™m trying to figure out?

The variable called exp1 is divided into 1, 2, 3 which shows which group the respondents belong to (a positive group, a negative group and a control group)

I want to compare the positive (2) and negative (1) group and see what they answered to the variables called socialmedia (1-9) and vote (1-5). This means I will have two bar charts: one for the positive and one for the negative repondents group.

I would like to share the datafile with you, but donâ€™t know how to share a csv-file in here haha

Thank You,
Anne-Sofie

here is some pictures that explain the variabels in my dataset

Hello @AnneSofie1234,

In case your data is confidential create dummy data that represents original one good enough

Br,
Ivan

arhh Thanks!
I need to make the following test between some of the variables:
The variables I select for analysis should be subjected to descriptive, statistical analysis. For example, I should report measures of central tendency and dispersal.

Also I must conduct at least two bivariate analyses (e.g. comparison of means) which I tried to explain in the other messages I wrote earlier

Once again, thank you so much for taking your time to help me out!

I couldnâ€™t upload a csv-file, so I converted it to an excel-file instead

Hello @AnneSofie1234,

I have checked and seems like an interesting data set you got there. Here is example workflow which can get you started with Bar Charts and your analysis. It features Bar Chart with income distribution for Negative and Positive Group.
2020_11_13_BarChartExample.knwf (75.3 KB)

For mean comparison check out t-test and/or ANOVA nodes. Use KNIME Hub to search for nodes and workflows.

Hope this helps.

Br,
Ivan

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.