If you want to know how to add boundaries to heatmaps, see my next post that deals specifically with the boundaries once you have your heatmap all set up
One minor issue with the R program was that I wasn’t allowed to hand over the part to analyse the SOM heatmaps to the client (I’m still part of a commercial business so I couldn’t give the client the intellectual property of the underlying code).
So all they got was a PowerPoint with static images and our strategic findings about the (client) segmentation. Still very interesting of course, since usually we show them insights they’ve never found before (or has never been proven or not shown in that amount of detail), but I wanted to develop something a bit more ‘sexy’ I guess
Having tried to use D3.js a bit in the past few months, I knew that creating a webpage where the client can go through all the heatmaps and have a bit of analyzing capabilities would be just what I was looking for and D3.js makes almost everything look good ;)
Anyway, I used the D3 hexbin plugin, even though I have nothing to ‘bin’. By using this plugin in a slightly different way than intended I do not have to make a function that draws each hexagon myself.