D3: World Map
✓ Published0🌍 Public
This example visualizes world geography using D3 and TopoJSON, rendering country boundaries as an SVG map. It loads spatial data from the `world-atlas` package via `d3.json` and converts TopoJSON features with the `feature` function. The map is drawn using `d3.geoPath` and a `d3.geoEqualEarth` projection onto a 960×500 SVG canvas. A CSS class named `.highlighted` is defined but not actively applied, leaving the map uncolored and displaying only default black country outlines against a white background.
AI-generated descriptionMIT Licensed