Skip to main content
100%

world map using d3

✓ Published0🌍 Public
PPratik Raja
Last edited Aug 13, 2024
Created on Aug 13, 2024

This example shows a polished world map rendered in an SVG, displaying landmasses in teal, country borders, graticules, and a subtle sphere outline. It uses React to manage the component structure, while D3 v5 handles the map projection and path generation with `geoNaturalEarth1` and `geoPath`. Geographic data comes from the World Atlas TopoJSON file, processed with `topojson.feature` and `topojson.mesh`. The visualization demonstrates a clean, minimalist cartographic style with a soft color palette.

AI-generated description
MIT Licensed

Similar vizzes