Assignment 2 Question 6
✓ Published0🌍 Public
This example displays an interactive orthographic globe of world countries, rendered as SVG paths with a sky-blue sphere and light-green landmasses that turn maroon on hover. It uses D3 v5’s `geoOrthographic` projection and `geoPath` to draw country boundaries from TopoJSON data loaded from the world-atlas repository. The map supports pan and zoom through D3’s `zoom` behavior, which applies a transform to the entire SVG, while country features are generated using TopoJSON’s `feature` method.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed