The d3.functor function from d3