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 stars1🌍 Public
Aanushatod
Last edited Apr 3, 2022
Created on Apr 3, 2022
Forked from Hello VizHub

This example displays a world map using the Mercator projection, with each country rendered as a filled SVG path along a light green background and dark green borders. The map is built with the d3.geo.path API, which generates path data from the TopoJSON geometry of the world-atlas dataset. The code loads geographic data from a JSON file and uses topojson.object to extract country boundaries before injecting them into SVG path elements for visualization.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed