D3 will "break and make art" if you adjust the clipAngle
of an orthographic projection created with d3.geoOrthographic()
.
To create the disco globe effect, set the clipAngle
to 270.
This map uses an with D3.js and Topojson to draw a map of the world's countries onto a spinning globe, rendered here with a graticule that is 10° by 10°.
The world countries polygons were downloaded from ArcGIS.
See also:
https://d3js.org/d3.v4.min.js
https://d3js.org/topojson.v1.min.js