Skip to main content
100%

Map with D3.js

✓ Published1🌍 Public
1123fischer
Last edited Nov 19, 2020
Created on Nov 19, 2020

This visualization displays a world map using a natural Earth projection, with country boundaries rendered as filled SVG shapes. The sphere outline is drawn first using a `geoPath` generator with an empty GeoJSON sphere object. Country features are loaded from the World Atlas TopoJSON dataset via `d3.json` and converted using `topojson.feature`. The map uses `d3.geoNaturalEarth1` for projection and `d3.geoPath` for path generation, with countries colored steelblue against a white background.

AI-generated description

body{ margin: 0px; overflow: hidden; }

MIT Licensed

Similar vizzes