Skip to main content
100%

ICE 8: World Map With TopoJson

✓ Published2🌍 Public
CChaitanya Galla
Last edited Apr 1, 2022
Created on Mar 30, 2022

This example renders a world map using the D3.js library, displaying countries as green shapes on a blue sphere. It loads TopoJSON data from a GitHub gist and converts it to GeoJSON using the `feature` method from the topojson library. The map uses `d3.geoNaturalEarth1` for the projection and `d3.geoPath` to generate SVG paths for each country and the surrounding sphere, with styling applied via CSS classes.

AI-generated description
MIT Licensed

Similar vizzes