# Creating Simple Graphs in Python
# Module 0 - Creating simple graphs in Python
# Dataset: /data/wage_sample.csv

# Creating Simple Graphs in Python
#
# Create a scatter plot to see whether wage and education appear related in the sample.

# %% Cell 2
import pandas as pd
import matplotlib.pyplot as plt

df = pd.read_csv("wage_sample.csv")
print(df.head())

# %% Cell 3
plt.scatter(df["education"], df["wage"])
plt.xlabel("Education")
plt.ylabel("Wage")
plt.title("Wage and education")
plt.show()

# Interpretation prompt
#
# Does the scatter plot suggest a positive, negative, or weak relationship?
