Skip to main content
100%

Assignment 2 Question 6

✓ Published0🌍 Public
Lleftymadi
Last edited Jul 12, 2023
Created on Jul 12, 2023
Forked from Hello VizHub

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 description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes