Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of World Map

Public visualization

Fork of Fork of Fork of World Map

0 stars2🌍 Public
DDivyaVellanki
Last edited Apr 4, 2022
Created on Apr 3, 2022

This interactive map displays world countries using an orthographic projection by default, rendered as SVG paths. Users can rotate the globe by dragging, with d3.drag and d3.geoPath updating the projection dynamically. Clicking the United States switches to a Mercator projection via d3.geoMercator, while other clicks revert to orthographic. Country boundaries come from the world-atlas TopoJSON dataset, with names from a TSV file. Zooming is handled through d3.zoom, applying a transform to the map group.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed