O'Reilly logo

R Data Analysis Cookbook - Second Edition by Kuntal Ganguly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating heatmaps

A heatmap uses color to communicate relationships between data values. A simple heatmap provides an immediate visual summary of information and allows the user to understand complex datasets. In this recipe, we will continue to use the mtcars_cor matrix from the previous recipe and use ggplot2 for visualization along with plotting a heatmap over geospatial data.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required