The Gnomonic butterfly projection is available as d3.geo.polyhedron.butterfly in the geo.polyhedron D3 plugin.
d3.geo.polyhedron.butterfly