Intro to Seaborn

Set up your coding environment

  • Create a new .ipynb in your VS code folder.
  • You might need to run pip install notebook (python3 -m pip install notebook)
  • You also might need to run pip install jupyterlab

Import the libraries we will be using

import seaborn as sns

Make sure you import pandas and read the data in:

import pandas as pd
data_frame = pd.read_csv("data/US houuse price of 10 states.csv")

Scatter plot

sns.scatterplot(data = data_frame, x = "bed_numeric", y = "price_numeric")