Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment - 8

Public visualization

Viewing a saved revision (read-only)

eac01fdd25e4425e919e5ac819cede95

Assignment - 8

0 stars1🌍 Public
AAriful Hasan
Last edited Apr 12, 2026
Created on Apr 12, 2026
Forked from Fork of D3 Starter

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