see: https://github.com/coryfoo/hexbins/blob/master/web/js/hex-overlay.js and https://github.com/d3/d3-plugins/tree/master/hexbin