How to quickly and easily make a customer heatmap with R

This is a good task for a marketing analytics course. It’s very easy to map out where customers are coming from. Why would you do that? So many reasons! So you know where to market to, where to add new locations, etc.

This simple code below uses R software.

Acknowledgment: I used some code from Joshua Ebner to get started. His code seems to still work but I just didn’t want to deal with Google Maps API so I tweaked it a bit.

Related Posts






Leave a Reply

Your email address will not be published. Required fields are marked *