Skip to main content
100%

world map

✓ Published1🌍 Public
Ppei9223
Last edited Sep 16, 2022
Created on Sep 16, 2022
Forked from d3js

This example displays a world map using natural Earth projection, with countries rendered as green filled paths with subtle black strokes against a blue spherical backdrop. It demonstrates loading TopoJSON country boundaries from the world-atlas package, converting them to GeoJSON via `topojson.feature`, and projecting them with `d3.geoNaturalEarth1` and `d3.geoPath`. The visualization also shows a sphere outline created from a GeoJSON Sphere object, all drawn as SVG elements using D3 v5’s selection and data-join methods.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes