November 2017
Beginner
316 pages
6h 40m
English
A heat map (or heatmap) is a graphical representation of data where the individual values contained in a matrix are represented as colors. In Vega, we have a function named heatmap that does exactly this.
Here is a sample heatmap in action:
heatmap(x = rand(1:10,100), y = rand(1:10,100), color=rand(100))
Here, x and y are in the range of 100 random numbers between 1 and 10, while the color is an array of 100 random color boxes:

Read now
Unlock full access