An attempt to implement Earth in a Cube I to D3v4.
Here I use a modified version of d3-geo
which exposes polygonContains
as suggested by Mike in his comment to my pull request.
https://d3js.org/d3.v4.min.js
https://d3js.org/d3-geo.v1.min.js
https://d3js.org/d3-geo-projection.v1.min.js
https://d3js.org/topojson.v2.min.js