Skip to main content
100%

Untitled

✓ Published0🌍 Public
Sspace-captain96
Last edited Jun 22, 2022
Created on Jun 21, 2022
Forked from D3 Starter

This example displays a world map rendered as SVG paths, with each country filled in grey and stroked with white. The visualization uses a Mercator projection centered on the equator, configured via `d3.geoMercator` with a custom scale and rotation. The code loads US Atlas topology data from a remote JSON file and uses `topojson.feature` to extract country boundaries, which are then drawn with `d3.geoPath`. The SVG container is created using `d3.select` and appended to the document body.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes