D3 will "break and make art" if you adjust the clipAngle
of an orthographic projection created with d3.geoOrthographic()
.
To create the transparent globe effect, set the clipAngle
to 180.
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:
forked from HarryStevens's block: Transparent Earth
https://d3js.org/d3.v4.min.js
https://d3js.org/topojson.v1.min.js