Challenge: Visualizing Seaborn Datasets

This lesson provides a few exercises to test your understanding of the seaborn module for visualization.

We'll cover the following

In this challenge, different datasets made available by seaborn are used to plot different visualizations.

Heatmap

The flights dataset will be used to plot a heatmap of its values. The contents of the data can be viewed here. The task is to reshape the DataFrame using the pivot function and plot it on a heatmap just like explained here. The year column of the dataset will be set as columns, the month will be set as row indexes, and the passengers will be the values. After reshaping, use the heatmap function of seaborn to plot the visualization.

Get hands-on with 1200+ tech skills courses.