October 2018
Beginner to intermediate
676 pages
18h 30m
English
In line plots, observations are connected to a line whose style can be customized. The relationship between x and y variables could be one-to-one, or at times it could be one-to-many. In our Snack Sales dataset, if we plot each item's sales against the date or period, it is a one-to-one relationship, as there is just one observation for each pair of dates/period and sales. However, if we take month and sales, then there are 30 observations (sales records) in each month, which is a one-to-many relationship.
Seaborn offers various options to plot both these types of relationships. In the main recipe, we will learn the one-to-one relationship and in the There's More... section, we will ...
Read now
Unlock full access