Hello, i would recommend to use Python, you can use matplotlib library to make heat maps. it's quite flexible but you must be able to program with it and understand the structure of the code. If you already know some programming language, it will be easier.
You may search on google: "discrete heatmap python", and also check some part of this: