How do you explain a box plot with categorical variables on the x-axis? For example, I have these two box plots, how do you interpret relative comparison of each category within the box plot?
Sample data:
# Create a Pandas dataframe
df = pd.DataFrame({
'demand': ['low', 'medium', 'high', 'extreme'],
'amenities_rating': [3, 2, 3, 4],
'education_rating': [1, 2, 2, 4],
'dem_ratings': [3, 4, 5, 5]
})
plot a
plot b
Values on the y-axis
are ratings 1-5 with 5 being the best.
Values
has a larger interquartile spread forextreme
than forlow
values ofDemand Volume
, as well as a higher median, but the minimum, the maximum and the first quartile are identical between the groups. What exactly is your question? $\endgroup$y-axis
in both plots? $\endgroup$