Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

world map with the world Topojson data

Public visualization

world map with the world Topojson data

0 stars0🌍 Public
Nnsatyaprakash22
Last edited Mar 29, 2023
Created on Mar 29, 2023

This example displays a world map rendered as white countries with black borders on a green background. It uses D3 v5 and TopoJSON to load world-atlas data from a CDN, then projects the geographic features with a Natural Earth projection via `geoNaturalEarth1()` and draws them using `geoPath()`. The `feature()` function from TopoJSON converts the TopoJSON topology into GeoJSON for binding to SVG paths.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed