Labels and titles
📖 Scenario: You are creating a simple plot to show the relationship between two variables in a dataset. To make the plot clear and easy to understand, you need to add labels to the axes and a title to the plot.
🎯 Goal: Build a basic scatter plot with proper axis labels and a main title using R.
📋 What You'll Learn
Create vectors for x and y data
Create variables for x-axis label, y-axis label, and plot title
Use the plot() function with labels and title
Print the plot with the correct labels and title
💡 Why This Matters
🌍 Real World
Adding clear labels and titles to graphs helps people understand data quickly, like in reports or presentations.
💼 Career
Data analysts and scientists often create plots with labels and titles to communicate insights clearly.
Progress0 / 4 steps