🌍 Public
Viewing a saved revision (read-only)
103d6a2489bd4d21948f40b340d647de
World Map
This example shows a world map rendered as an SVG, with countries filled in tan and outlined in black, set against a light blue sphere. It uses the D3.js library (v5) to load a TopoJSON file from a GitHub gist, extract country features via the `topojson` API, and project them using `d3.geoNaturalEarth1` and `d3.geoPath`. The map is drawn by appending path elements to an SVG element, with styling applied via CSS classes.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.