Assignment2_Worldmap
✓ Published0🌍 Public
This example displays an interactive world map using geographic data from the world-atlas TopoJSON file. The map presents continents and countries with distinct fill colors and stroke outlines, rendered as SVG paths via d3.geoPath and the geoEquirectangular projection. Users can pan and zoom through d3.zoom, which applies transformations to the SVG group. Hovering over a country changes its fill color to maroon through CSS :hover styling. The visualization demonstrates D3 version 5 with topojson.feature to convert TopoJSON to GeoJSON for rendering.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed