Making a scatter plot

Introduction to Data Science in Python

Hillary Green-Lerman

Lead Data Scientist, Looker

Mapping Cell Phone Signals

Introduction to Data Science in Python

What is a scatter plot?

Introduction to Data Science in Python

What is a scatter plot?

Introduction to Data Science in Python

Creating a scatter plot

plt.scatter(df.age, df.height)
plt.xlabel('Age (in months)')
plt.ylabel('Height (in inches)')

plt.show()

Introduction to Data Science in Python

Keyword arguments

plt.scatter(df.age, df.height,
            color='green',
            marker='s')

Introduction to Data Science in Python

Changing marker transparency

plt.scatter(df.x_data,
            df.y_data,
            alpha=0.1)

Introduction to Data Science in Python

Let's practice!

Introduction to Data Science in Python

Preparing Video For Download...