Skip to main content
100%

world map for Topojson data

✓ Published1🌍 Public
RRahulSai05
Last edited Apr 4, 2022
Created on Apr 4, 2022
Forked from Hello VizHub

This example displays a world map rendered from TopoJSON data, with countries shown as grey filled paths with cyan strokes against a light pink globe background. It uses d3.geoPath with a d3.geoNaturalEarth1 projection to generate SVG paths from geographic features. The code loads the TopoJSON file via d3.json and converts it to GeoJSON using topojson.feature. The visualization framework is D3 v5, with map styling controlled through the stylesheet’s `.country` and `.globe` classes.

AI-generated description
MIT Licensed

Similar vizzes