Skip to main content
100%

World maps by using D3.js

✓ Published0🌍 Public
Cchakritha06
Last edited Jul 10, 2022
Created on Jul 10, 2022
Forked from World Map

This example displays a world map using D3.js, rendering countries as semi-transparent orange shapes on a blue sphere against a black background. The map is projected using `d3.geoEquirectangular` and drawn with `d3.geoPath`, while geographic data is loaded from the `world-atlas` package via `d3.json`. Boundaries are extracted with `topojson.feature`, and the SVG paths are updated through a simple data-join operation that appends each country as a new path element.

AI-generated description
MIT Licensed

Similar vizzes