BuildlyBuildly
DashboardExercisesProfileHelp
Data Science/Module 4: Data Visualization/Seaborn Categorical2/3
Exercise·7 min·10 XP

Count Orders by Status

Context. Ten orders, each with a status. How many were delivered, pending, cancelled? countplot counts and draws in one call.

Your task. Write make_status_count(df) that draws a seaborn count plot of the status column and returns the axes.

Example. sns.countplot(...) needs only x="status" — no counting on your side.

Notes. Bars follow first-appearance order in the data: delivered, pending, cancelled.

Previous
Color Points by Segment
Next
Average Score per Class