map interactions
✓ Published0🌍 Public
This example displays an orthographic projection of the world map using D3.js and TopoJSON, with country boundaries rendered as SVG paths. Hovering over a country turns it red, while a d3.zoom behavior allows panning and zooming of the entire map. The map data comes from the world-atlas TopoJSON and TSV files, and country names are added as tooltips via SVG title elements. The projection and path generation use d3.geoOrthographic and d3.geoPath.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed