Skip to main content
100%

Gist fcaa6cc1968b4cd0eac0f15d1f0ff3f4

✓ Published0🌍 Public
YYannael
Last edited Sep 7, 2017
Created on Sep 7, 2017

This visualization maps geographic data onto a three-dimensional globe using D3.js and Three.js. It renders landmasses as extruded polygons via `d3.geoPath` and converts them to Three.js geometry, while a `d3.forceSimulation` drives the rotation of the globe. The example also applies a canvas-based texture through `getImageData` to overlay graticule lines and subtle shading, and it animates the camera with `transition.attrTween` to smoothly orbit the planet. The data comes from a GeoJSON source embedded in the gist file.

AI-generated description

Similar vizzes