🌍 Public
World Map
This example displays a natural Earth projection of the world, using a flat SVG canvas. Landmasses are filled in teal, while graticules and a light gray sphere background define the map’s frame—the latter including a polygon that traces national interiors. Built with React and D3 v7, it leverages `geoNaturalEarth1` for projection, `geoPath` for rendering geographic features, and `geoGraticule` for the grid. The underlying data is fetched from the `world-atlas` TopoJSON source, with terrain and boundary polygons extracted via `feature` and `mesh` from the `topojson` library.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter. css named colors
scatter plot test
MIT Licensed
Comments
Sign in to join the discussion.