Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Drawing a box

Public visualization

Viewing a saved revision (read-only)

d51ab2602e0f40e78822fedbd8d8b85f

Fork of Drawing a box

0 stars0🌍 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