Skip to main content
100%

17_Make a World Map

✓ Published1🌍 Public
FFMajid-ops
Last edited Dec 18, 2020
Created on Dec 18, 2020

This example shows a world map rendered with D3 using the Natural Earth projection. The map displays country boundaries as light green filled paths with subtle black strokes, set against a blue sphere background. The code loads GeoJSON data from the world-atlas TopoJSON file, converts it to geographic features with `topojson.feature`, and projects it using `d3.geoNaturalEarth1()`. The SVG paths are generated via `d3.geoPath()` and attached through a data join.

AI-generated description
MIT Licensed

Similar vizzes