Heatmaps

In this lesson, heatmaps using the seaborn package are discussed.

We'll cover the following

Introduction

Wherever data needs to be displayed efficiently, and in a comprehensible manner, heatmaps are used. They visualize trends in data perfectly and enable us to analyze what to do next.

A heatmap uses different colors to display data, while other plotting methods either use height or width parameters for it. Specific colors in varying concentrations are applied to different values of data depending on their importance.

Let’s visualize a heatmap. The data used in the following example can be obtained from this link. The dataset contains information about the life expectancy of people from different countries and continents.

Get hands-on with 1200+ tech skills courses.