🌍 Public
World Map
This example renders a world map using a Natural Earth projection, displaying landmasses, graticules, country borders, and a sphere outline. It loads geographic data from the World Atlas TopoJSON file using `d3.json` and processes it with `topojson.feature` and `topojson.mesh`. The map is drawn with `d3.geoPath` and `d3.geoNaturalEarth1`, while React components structure the SVG output. Land areas are filled teal, borders are lighter teal, and the background sphere is light gray.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data.
MIT Licensed
Comments
Sign in to join the discussion.