Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

world map

Public visualization

world map

0 stars2🌍 Public
Uubl2
Last edited Mar 31, 2022
Created on Mar 30, 2022

This example displays a world map using an orange sphere and red countries outlined in black, rendered as an SVG via D3 v5. It loads geographic data from a TopoJSON file and converts it to GeoJSON using the `topojson.feature` method. The map applies the `geoNaturalEarth1` projection and draws paths with `d3.geoPath`, while a separate path outlines the globe’s sphere.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed