Skip to main content
100%

Activity 8 Task 5-1 World Map

✓ Published0🌍 Public
VVishnu Sudireddy
Last edited Jul 21, 2023
Created on Jul 17, 2023
Forked from D3 Starter

This example displays an interactive world map using D3 version 5 and TopoJSON. It shows countries with white fills, red borders, and a sky-blue ocean, with hover states that turn countries maroon. The visualization uses d3.geoEquirectangular for projection and d3.geoPath to render geographic features, while d3.zoom enables panning and zooming. Country boundaries come from the world-atlas dataset (countries-110m.json), processed through the TopoJSON feature method to create GeoJSON objects for SVG path rendering.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes