jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
59 stars 29 forks source link

[Feature Request]: Barplots of single categorical var with many ratio vars with different colors but same color per category. #1734

Open estatistics opened 2 years ago

estatistics commented 2 years ago

Description

Barplots of single categorical var with many ratio vars with different colors but same color per category.

Purpose

Barplots of single categorical var with many ratio vars with different colors but same color per category.

Use-case

Barplots of single categorical var with many ratio vars with different colors but same color per category.

Is your feature request related to a problem?

No response

Describe the solution you would like

Barplots of single categorical var with many ratio vars with different colors but same color per category.

Describe alternatives that you have considered

No response

Additional context

Barplots of single categorical var with many ratio vars with different colors but same color per category.

estatistics commented 2 years ago

^ all "single categorical" * "dependents" (means) presented in the same plot.

estatistics commented 2 years ago

You have 10 dependent vars from 1 to 5 likert scale and you would like to see in a single barplot, gender differences in means. How do you that? I tried flexplot. I could not find such feature anywhere in jasp.

juliuspfadt commented 2 years ago

@estatistics thanks for the request. Is there any way you could give a visual for what you would like to see? even if it is only a hand drawn figure... :)

juliuspfadt commented 2 years ago

is this something you mean: image if yes then @foger3 is working on this.

estatistics commented 2 years ago

yes something like this will do!
See the below example. Επιλογή_534

estatistics commented 2 years ago

Note that the stack graphs are not desirable in every case. eg. It is more straightforward to see which bar is higher than other than to spot lower /higher numbers. There are cases that categories itself do not make 100% (multichoice answers of yes / no form) e.g. why you went vegan A) to abstain from animal abuse (70%/30%) , B) for health issues (82%/18%) C) for the environment (88%/12%)

juliuspfadt commented 2 years ago

@foger3 is this something you worked on?

foger3 commented 2 years ago

@juliuspf currently not, first the horizontally flipped stacked version is coming. For now, distribution plots (under basic plots in "Descriptives") can be used to accomplish the above request, at least partially (one variable per plot). Axes can be standardised with the plot editting feature.

knamesnik commented 9 months ago

I think we need a "nested bargraph" option. This would solve this problem...

Reardon7 commented 8 months ago

I've been told my feature request, below, is the same as this request, so I am moving my description of my needs /suggestion here:

Description Show continuous variable in bins with percentile in each bin

Purpose Alternative way to show distribution of continuous results

Use-case Anytime distributions can be shown in bins

Is your feature request related to a JASP module? Distributions

Describe the solution you would like I'd like to be able to display one or more continuous variables in a graph wherein each variable is shown along the x-axis, grouped into a user selected number of bins showing the percentage in each bin and, most ideally, the bin colors changing along a gradient. See example

Describe alternatives that you have considered This can be done in Excel, with considerable effort, but it would be great to see it in Jasp

Below is the published paper that shows in Figure 1 how survey respondents responses to several continuous scales were divided into bins, displayed across an x axis with the percentage of the respondents in each bin shown in each bin.

https://www.cureus.com/articles/124269-effects-of-pressure-to-abort-on-womens-emotional-responses-and-mental-health#!/ 308669359-fabc7942-e2b5-4872-bb85-4fba24024e35

tomtomme commented 8 months ago

@foger3 Are you still working on these?

@Reardon7 Currently you can do a similar plot like yours via: image I know, its not the same. Percentages in the bars are not shown and you cannot change the 0 point. But still, I hope this helps in the meantime until we get proper stacked and nested bar charts.

For bigger context, we are still missing: image

tomtomme commented 7 months ago

amazing news from 0.19 beta :D image Nested Histograms are there, thanks to @JohnnyDoorn !

Stacked bar charts for 2x categorial next and then the stuff for >2 variables :D? But lets not forget there are >300 other feature requests...