Line plots
📖 Scenario: You are a data analyst working with monthly sales data for a small store. You want to visualize how sales changed over the first six months of the year.
🎯 Goal: Create a line plot to show monthly sales trends from January to June.
📋 What You'll Learn
Create a dictionary with months as keys and sales numbers as values
Create a list of months in order
Use matplotlib to plot sales data as a line plot
Label the x-axis as 'Month' and y-axis as 'Sales'
Display the plot
💡 Why This Matters
🌍 Real World
Line plots are used to show trends over time, like sales, temperature, or stock prices.
💼 Career
Data analysts and scientists use line plots to communicate patterns and changes clearly to others.
Progress0 / 4 steps