Skip to main content
100%

Fork of Let's make a map with D3.js!

✓ Published0🌍 Public
SSittukala Saravanan
Last edited Feb 10, 2022
Created on Feb 10, 2022

This example visualizes a world map using a natural Earth projection, with countries rendered as light green SVG paths on a blue sphere. It loads geographic data from the World Atlas TopoJSON dataset and converts it to GeoJSON using the topojson feature method. The map is drawn with d3.geoPath and d3.geoNaturalEarth1, with country borders stroked in semi-transparent black. The code imports specific D3 modules including select, json, and geoPath, demonstrating a concise approach to geographic visualization.

AI-generated description
MIT Licensed

Similar vizzes