Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Map with D3.js

Public visualization

Map with D3.js

0 stars1๐ŸŒ 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; }

Comments

Sign in to join the discussion.

MIT Licensed