Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ice8

Public visualization

Fork of ice8

0 stars2🌍 Public
PPujitha14challagulla
Last edited Jul 9, 2022
Created on Jul 9, 2022
Forked from ice8

This interactive map of world countries allows the user to switch between an orthographic projection and a Mercator projection by clicking on individual nations. The visualization also supports dragging to rotate the orthographic view and zooming, all rendered as SVG paths. The code uses the `d3.geoPath` and `d3.geoOrthographic` APIs from the D3-geo-projection library, and it loads country boundaries from a TopoJSON file alongside a TSV file containing country names. Dynamic rotation and zoom are handled through the `d3.drag` and `d3.zoom` interactions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed