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

Histogram of Review Ratings

Context. Twenty product reviews, rated 1-5. A histogram shows how the ratings spread — are customers happy or split?

Your task. Write make_hist(df) that draws a seaborn histogram of the rating column with 5 bins, and returns the axes.

Example. sns.histplot(...) with x="rating" and bins=5.

Notes. Seaborn functions return the matplotlib axes they drew on — return that directly.

Previous
Title Every Panel
Next
Box Plot of Scores by Team