Untitled
✓ Published0🌍 Public
This example shows an interactive orthographic globe built with D3.js and TopoJSON, rendered as an SVG with animated transitions. Users click a country to rotate the globe and zoom toward that region, using `d3.geo.orthographic`, `d3.geo.path`, and `d3.geo.centroid` for positioning. A water sphere and land paths are drawn from `world.json`, with click handling triggering `transition.attrTween` to interpolate rotation and scale. The `active` class highlights selected countries in orange, and clicking the background resets the view to its original scale.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed