Creating a heat map

Heat maps are a visual representation of data wherein each value in a matrix is represented with a color. It has been widely observed among the visualization community that color as a visual cue is ranked toward the bottom when compared with other tools such as position, length, angle, and so on. The traditional heat map is represented in a rectangular format, but at the very basic level a heat map is representing colors for numbers. An interesting implementation of heat maps is its integration with a calendar. We will study the calendar heat maps in detail in the recipe Generating interactive calendar maps in Chapter, Data in Higher Dimensions.

The Iraq body count is a database that maintains records of violent civilian deaths ...

Get R: Recipes for Analysis, Visualization and Machine Learning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.