From the course: Python for Marketing (2019)

Unlock this course with a free trial

Join today to access over 22,500 courses taught by industry experts.

Using a scatter plot in Seaborn

Using a scatter plot in Seaborn - Python Tutorial

From the course: Python for Marketing (2019)

Using a scatter plot in Seaborn

- [Instructor] In this video we're going to look at plotting a scatter plot in Seaborn. Seaborn in another plotting package. It is a layer on top of matplotlib. It plots some really cool stuff, and you use very little code, unlike with matplotlib. There's a lot of code going on there. However, its syntax is slightly different, so you need to kind of relearn how to use this library. So earlier in this notebook we imported matplotlib as sns. So let's plot a scatter plot in Seaborn. So you might recognize these from any matplotlib charts that you've done in the past. So we're settin' the figure size. We're settin' subplot as 111, 'cause I'm only plottin' one plot. And we are creating a scatterplot with impressions and clicks with Google Analytics Google Search Console data. And then we use plt.show to run it. And there we go. We have a scatterplot. It doesn't really tell us much. We can see there's lot of overlapping…

Contents