Scatter plots
📖 Scenario: You work as a data analyst for a small company that sells different products. You have collected data about the price and sales of each product. You want to see if there is any relationship between the price of a product and how many units it sells.
🎯 Goal: You will create a scatter plot using pandas to visualize the relationship between product prices and sales.
📋 What You'll Learn
Create a pandas DataFrame with product data
Add a variable for the size of the scatter points
Use the DataFrame to create a scatter plot with price on the x-axis and sales on the y-axis
Display the scatter plot
💡 Why This Matters
🌍 Real World
Scatter plots help visualize relationships between two numeric variables, like price and sales, to find patterns or trends.
💼 Career
Data analysts and scientists use scatter plots to explore data and communicate insights clearly to teams and decision makers.
Progress0 / 4 steps