Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World map with D3.js!

Public visualization

World map with D3.js!

0 stars0🌍 Public
TTatyana Milanova
Last edited Oct 6, 2023
Created on Oct 6, 2023

This example displays a world map rendered in an SVG using D3.js v5. It projects country boundaries with the Natural Earth projection via `d3.geoNaturalEarth1` and draws them through `d3.geoPath`. The map’s ocean is a distinct blue sphere path, while countries appear as light green shapes with subtle black strokes. Geographic data comes from the world-atlas TopoJSON file, converted to GeoJSON using `feature` from the Topojson library.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed