Fork of Activity 8 Map
✓ Published0🌍 Public
This interactive world map visualizes country boundaries using a geographic projection, with zoom functionality and hover effects that change country colors. Built with D3 version 5 and the TopoJSON package, it loads GeoJSON data from the world-atlas library and renders countries as SVG paths. The code uses `d3.geoEquirectangular` for the projection, `d3.geoPath` to generate the map paths, and a zoom control that applies transform attributes on zoom events. The styling in CSS fills the earth with skyblue, countries with lightgreen, and maroon on hover.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed