O'Reilly logo

R Data Visualization Cookbook by Atmajitsinh Gohil

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

Chapter 3. Heat Maps and Dendrograms

In this chapter, we will cover the following recipes:

  • Constructing a simple dendrogram
  • Creating dendrograms with colors and labels
  • Creating a heat map
  • Generating a heat map with customized colors
  • Generating an integrated dendrogram and a heat map
  • Creating a three-dimensional heat map and a stereo map
  • Constructing a tree map in R

Introduction

The main motivation to dedicate an entire chapter on heat maps and dendrograms is to introduce the concept of clustering. We have also introduced tree maps toward the end of this chapter. Recently, I have observed the rising popularity of tree maps in news media and on financial websites.

Clustering techniques can be grouped into K mean clustering and hierarchical clustering. Dendrograms, ...

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