Bar plots
📖 Scenario: You work in a small bakery. You want to see how many cakes of each type you sold last week. This will help you understand which cakes are popular.
🎯 Goal: Create a bar plot to show the number of cakes sold for each cake type.
📋 What You'll Learn
Create a pandas DataFrame with cake types and their sales.
Set a variable for the plot title.
Use pandas to create a bar plot of the sales.
Display the bar plot with the correct title.
💡 Why This Matters
🌍 Real World
Bar plots are used in business to quickly see which products sell best or which categories have the most data.
💼 Career
Data analysts and scientists use bar plots to visualize and communicate data insights clearly to teams and managers.
Progress0 / 4 steps