Fork of Spinning Globe
✓ Published0🌍 Public
This animated globe uses D3.js with an orthographic projection to render a continuously rotating view of the world. Country polygons from the VisionsCarto World Atlas TopoJSON are drawn via `d3.geoPath`, with a graticule grid and a glowing outline over a dark ocean sphere. Hovering a country highlights it by adjusting opacity and displays a bold cyan label with the nation's name.
AI-generated descriptionSpinning Globe
An interactive 3D spinning globe built with D3.js that displays countries with a rotating animation.
Features
- Smooth rotating globe visualization
- Orthographic projection for 3D effect
- Graticule grid overlay
- Beautiful color scheme
- Interactive country name labels on hover
- Country highlighting on hover for better visibility
Usage
Watch the globe automatically spin and explore the world! Hover over any country to see its name displayed and the country highlighted.
How It Works
- The globe rotates continuously in 3D space
- World map data is fetched from the World Atlas TopoJSON
- Hover interactions reveal country names with visual highlighting
MIT Licensed