Triangular binning a set of 2D points. Maps color to the density of points within a triangle.
Essentially a fork of this block that does hexagonal binning. Uses the d3.triangleBin plugin. Also see this block which maps density to area instead of color.
https://d3js.org/d3.v3.min.js