π Public
ICE - 8: World Map
This example displays a world map composed of green countries with white borders on a blue background. It uses D3 v5 and topojson to fetch and convert GeoJSON data from the world-atlas CDN, then projects it with d3.geoNaturalEarth1 and renders it as SVG paths via d3.geoPath. The code selects an SVG element and appends each country feature as a path.
AI-generated descriptionReact Starter code.
MIT Licensed
Comments
Sign in to join the discussion.