Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

worldmap

Public visualization

Viewing a saved revision (read-only)

51f7bf06c3da41df830ff9542a009bf4

worldmap

0 stars1🌍 Public
Mmarianamartins87
Last edited Mar 17, 2021
Created on Mar 17, 2021

This example displays a world map using a natural Earth projection, with countries rendered as light green paths against a blue spherical backdrop. It loads geographic data from the World Atlas TopoJSON file and converts it to GeoJSON features using the topojson feature function. The visualization uses d3.geoNaturalEarth1 for the projection and d3.geoPath to generate the SVG path data, styling the sphere and country shapes through CSS classes.

AI-generated description