You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to assign different colors to the boundaries within each violin?
We have Likert data, and for each 'item' we would like to have a different color representation inside the violin (i.e., the boundaries you see in the figures below i.e., 2nd figure, which are different from the default 'quantiles' boundaries i.e., 1st figure). .
Any suggestions would be appreciated!
Please see the code (steps are included on how to create the figure below)!
Is there a way to assign different colors to the boundaries within each violin?
We have Likert data, and for each 'item' we would like to have a different color representation inside the violin (i.e., the boundaries you see in the figures below i.e., 2nd figure, which are different from the default 'quantiles' boundaries i.e., 1st figure).
.
Any suggestions would be appreciated!
Please see the code (steps are included on how to create the figure below)!
STEP 1:
Create fake data for visualization of likert data
STEP 2:
Do some wrangling & labeling to set up the desired structure
STEP 3:
Create bounds function that will define the boundaries for likert data in each violin
STEP 4:
Change dataframe orientation
STEP 5:
Plot the figure
The text was updated successfully, but these errors were encountered: