🌍 Public
Viewing a saved revision (read-only)
58e5021a8ee54a0a917998c51d77c11b
Assignment - 8
A world map visualization displays countries as green or blue polygons with white borders, using data from the world-atlas TopoJSON dataset. The map uses a Natural Earth projection. The D3 code creates an SVG container, applies `d3.geoNaturalEarth1` for projection, and generates geographic paths with `d3.geoPath`. TopoJSON is converted to GeoJSON via `topojson.feature`. Countries receive randomized colors to visually distinguish landmasses.
AI-generated description