Skip to main content
100%

World Map !

✓ Published1🌍 Public
SShareSha
Last edited Apr 14, 2020
Created on Apr 14, 2020

This example shows a world map of countries rendered as filled white shapes with thin black borders on a blue sphere, providing a simple geographic overview. It uses d3.geoPath with the geoNaturalEarth1 projection to generate SVG paths for each country. The geographic data comes from the world-atlas package’s countries-110m.json, and the code employs the topojson feature function to convert the TopoJSON geometries into GeoJSON features. The sphere background is created separately, while all paths are drawn using SVG within the d3.v5 framework.

AI-generated description
MIT Licensed

Similar vizzes