Here you can find the hml code to generate the heatmaps: https://github.com/lacassef/recodexapicodeexamples