A heat map shows a set of data in a grid in line with other vectors of data. You will need to define an array of hashtables. One axis will be the property to index by while the other vector will be a set of keys as defined by other properties of the hash table.