Skip to main content
100%

Untitled

✓ Published0🌍 Public
MMaciek Sitkowski
Last edited Oct 2, 2020
Created on Oct 2, 2020
Forked from HTML Starter

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 description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes