World Map
✓ Published0🌍 Public
This example uses D3’s geoOrthographic projection and geoPath to render a three-dimensional-looking Earth in SVG. It displays country landmasses in purple, with gray graticules and sphere outlines, plus gray interior borders between countries. The map loads world-atlas TopoJSON data, converts it using topojson’s feature and mesh, and visualizes it with React. The projection and path are generated with d3.geoOrthographic, d3.geoPath, and d3.geoGraticule, producing a static globe view.
AI-generated descriptionMIT Licensed