Bar chart -> select variable -> group by = select second variable, then "customize colors" apparently controls the colors of the levels of the first (primary) variable, but in the toolbox diaglog they're wrongly labeled by the levels of the second (group-by) variable.
Description
Bar chart -> select variable -> group by = select second variable, then "customize colors" apparently controls the colors of the levels of the first (primary) variable, but in the toolbox diaglog they're wrongly labeled by the levels of the second (group-by) variable.
For instance go to https://isle.stat.cmu.edu/36-200-fall23/heartdisease_project1/ -> toolbox -> plots -> bar chart -> counts -> select "complications" (which is a 0/1 categorical variable) -> group by -> select "gender".
The default plot is as follows:
If you go back to the bar chart dialog and select "customize colors," it indicates the levels of the group-by variable:
But "customize colors" evidently controls the levels of the main variable ("complications"), as proved by trying it:
Expected behavior
The "customize colors" lablels should be the levels of the main variable, not of the group-by variable.
To Reproduce
see above
Version
0.76.23
Link to ISLE lesson
see above
ISLE Code
No response
What browsers are you seeing the problem on?
Firefox
What browser version?
No response
Additional context
No response