Skip to main content
100%

Fork of Drawing a box

✓ Published0🌍 Public
Ttoby-fox
Last edited Jan 11, 2022
Created on Jan 5, 2022
Forked from Drawing a box

This interactive visualization displays an orthographic globe with graticule lines, country boundaries from the world-atlas TopoJSON dataset, and a colored rectangular region defined by geodetic bounds. Users can rotate the globe by dragging and zoom using d3.zoom. The code constructs projections with d3.geoOrthographic, generates paths through d3.geoPath, and renders graticules via d3.geoGraticule. A unique random fill color is applied to the rectangle each time the globe is dragged.

AI-generated description
MIT Licensed

Similar vizzes